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 ); }