From 1f01cd50aa5c807db6681742822caff59523a7b2 Mon Sep 17 00:00:00 2001 From: charras Date: Tue, 12 May 2009 13:46:43 +0000 Subject: [PATCH] Rework on TEXTE_PCB, SCH_TEXT and EDA_TextStruct classes. Code seriously cleaned, obscure and duplicated code removed, and some oddities removed. Better support of multiline texts. --- pcbnew/class_pcb_text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/class_pcb_text.cpp b/pcbnew/class_pcb_text.cpp index 7dac4fcf9b..dfc83ff31f 100644 --- a/pcbnew/class_pcb_text.cpp +++ b/pcbnew/class_pcb_text.cpp @@ -193,7 +193,7 @@ void TEXTE_PCB::Draw( WinEDA_DrawPanel* panel, wxDC* DC, GRFillMode fillmode = FILLED; if ( DisplayOpt.DisplayDrawItems == SKETCH) - GRFillMode fillmode = SKETCH; + fillmode = SKETCH; EDA_TextStruct::Draw( panel, DC,