From 81c22542e42d06eec5e78a3d351bfcf84b10fa39 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 26 Feb 2024 12:38:44 +0000 Subject: [PATCH] Fix copy pasta. (cherry picked from commit 43c45f3ee8b85a43656d31754f4981543f80b012) --- pcbnew/pcbexpr_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pcbexpr_functions.cpp b/pcbnew/pcbexpr_functions.cpp index 724e2cf8cf..6b6e123ce7 100644 --- a/pcbnew/pcbexpr_functions.cpp +++ b/pcbnew/pcbexpr_functions.cpp @@ -943,7 +943,7 @@ static void isBlindBuriedViaFunc( LIBEVAL::CONTEXT* aCtx, void* self ) aCtx->Push( result ); if( item && item->Type() == PCB_VIA_T - && static_cast( item )->GetViaType() == VIATYPE::MICROVIA ) + && static_cast( item )->GetViaType() == VIATYPE::BLIND_BURIED ) { result->Set ( 1.0 ); }