From fb09b26163e6abc27e9485a9420c3a2fa167602f Mon Sep 17 00:00:00 2001 From: dickelbeck Date: Mon, 5 May 2008 19:55:09 +0000 Subject: [PATCH] removed debug printf --- pcbnew/tool_pcb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/tool_pcb.cpp b/pcbnew/tool_pcb.cpp index 1d6ab570a2..3ae8c3eda1 100644 --- a/pcbnew/tool_pcb.cpp +++ b/pcbnew/tool_pcb.cpp @@ -704,13 +704,13 @@ WinEDAChoiceBox* WinEDA_PcbFrame::ReCreateLayerBox( WinEDA_Toolbar* parent ) HK_SWITCH_LAYER_TO_COMPONENT }; - if( (g_TabOneLayerMask[layer] & layer_mask) ) + if( g_TabOneLayerMask[layer] & layer_mask ) { wxString msg = m_Pcb->GetLayerName( layer ); msg = AddHotkeyName( msg, s_Board_Editor_Hokeys_Descr, HK_SwitchLayer[layer] ); m_SelLayerBox->Append( msg ); - D(printf("appending layername=%s, ndx=%d, layer=%d\n", CONV_TO_UTF8(msg), listNdx, layer );) + //D(printf("appending layername=%s, ndx=%d, layer=%d\n", CONV_TO_UTF8(msg), listNdx, layer );) m_SelLayerBox->SetClientData( listNdx, (void*) layer ); length = MAX( length, msg.Len() );