Fix drawing of mirrored texts in pcbnew.

This commit is contained in:
Marco Mattila 2011-02-01 13:56:09 +02:00
parent 146b78995f
commit 6f9fc8d210
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ void DrawGraphicText( EDA_DRAW_PANEL* aPanel,
/* if a text size is too small, the text cannot be drawn, and it is drawn as a single
* graphic line */
if( aSize.x < 3 )
if( ABS( aSize.x ) < 3 )
{
/* draw the text as a line always vertically centered */
wxPoint end( current_char_pos.x + dx, current_char_pos.y );