From 1f34ed058324f23ee613dbc50220f96b709cbab4 Mon Sep 17 00:00:00 2001 From: charras Date: Sun, 20 Jul 2008 12:59:52 +0000 Subject: [PATCH] minor bug 1974672 solved --- common/gr_basic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/gr_basic.cpp b/common/gr_basic.cpp index 6a10c4c6c2..c11a2697d4 100644 --- a/common/gr_basic.cpp +++ b/common/gr_basic.cpp @@ -266,7 +266,7 @@ void GRSetColorPen( wxDC* DC, int Color, int width, int style ) if( width < PenMinWidth ) width = PenMinWidth; - if( ForceBlackPen && Color != WHITE ) + if( ForceBlackPen ) { Color = BLACK; } @@ -300,7 +300,7 @@ void GRSetBrush( wxDC* DC, int Color, int fill ) /***********************************************/ { Color &= MASKCOLOR; // Pour 32 couleurs Max - if( ForceBlackPen && Color != WHITE ) + if( ForceBlackPen ) Color = BLACK; wxBrush DrawBrush; DrawBrush.SetColour(