From 7bd6c9d623200d9a8e84338c57968aa219795581 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 26 Oct 2023 10:43:21 +0100 Subject: [PATCH] Fix sloppy coding. --- pcbnew/plugins/altium/altium_pcb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/plugins/altium/altium_pcb.cpp b/pcbnew/plugins/altium/altium_pcb.cpp index d4d99cc7cc..65414ceca8 100644 --- a/pcbnew/plugins/altium/altium_pcb.cpp +++ b/pcbnew/plugins/altium/altium_pcb.cpp @@ -1748,10 +1748,10 @@ void ALTIUM_PCB::ParsePolygons6Data( const ALTIUM_COMPOUND_FILE& aAltiumPcbF { LAYER_T layerType = m_board->GetLayerType( layer ); - if( layerType == LT_POWER || LT_MIXED ) + if( layerType == LT_POWER || layerType == LT_MIXED ) planeLayers++; - if( layerType == LT_SIGNAL || LT_MIXED ) + if( layerType == LT_SIGNAL || layerType == LT_MIXED ) signalLayers++; }