From f50285d902fbe3c25bcfaf222e2a2436ee7c8e5f Mon Sep 17 00:00:00 2001 From: g_harland Date: Sun, 7 Oct 2007 22:49:16 +0000 Subject: [PATCH] Change CUIVRE_N to COPPER_LAYER_N in two files --- gerbview/pcbtexte.cpp | 2 +- pcbnew/pcbnew.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gerbview/pcbtexte.cpp b/gerbview/pcbtexte.cpp index b1051542ff..09a4edd57e 100644 --- a/gerbview/pcbtexte.cpp +++ b/gerbview/pcbtexte.cpp @@ -171,7 +171,7 @@ TEXTE_PCB* WinEDA_PcbFrame::Create_Texte_Pcb( wxDC* DC ) /* Mise a jour des caracteristiques */ TextePcb->m_Layer = CurrentScreen->m_Active_Layer; TextePcb->m_Miroir = 1; - if( CurrentScreen->m_Active_Layer == CUIVRE_N ) + if( CurrentScreen->m_Active_Layer == COPPER_LAYER_N ) TextePcb->m_Miroir = 0; TextePcb->m_Size.y = Texte_Pcb_DimV; diff --git a/pcbnew/pcbnew.h b/pcbnew/pcbnew.h index e1b68f984c..99ee34f982 100644 --- a/pcbnew/pcbnew.h +++ b/pcbnew/pcbnew.h @@ -139,7 +139,7 @@ eda_global DISPLAY_OPTIONS DisplayOpt; * Function IsModuleLayerVisible * expects either of the two layers on which a module can reside, and returns * whether that layer is visible. - * @param layer One of the two allowed layers for modules: CMP_N or CUIVRE_N + * @param layer One of the two allowed layers for modules: CMP_N or COPPER_LAYER_N * @return bool - true if the layer is visible, else false. */ bool inline IsModuleLayerVisible( int layer )