From e30f6f65d97d751e8e9a45171f7806737b4ecc41 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Wed, 31 Mar 2010 18:45:47 +0200 Subject: add missing parentheses --- lib/gdi/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gdi/font.cpp') diff --git a/lib/gdi/font.cpp b/lib/gdi/font.cpp index dfac144c..b7d3c1db 100644 --- a/lib/gdi/font.cpp +++ b/lib/gdi/font.cpp @@ -363,7 +363,7 @@ int eTextPara::appendGlyph(Font *current_font, FT_Face current_face, FT_UInt gly } pGlyph ng; - ng.bbox.setLeft( (flags&GS_ISFIRST|cursor.x()-1)+glyph->left ); + ng.bbox.setLeft( ((flags&GS_ISFIRST)|(cursor.x()-1))+glyph->left ); ng.bbox.setTop( cursor.y() - glyph->top ); ng.bbox.setWidth( glyph->width ); ng.bbox.setHeight( glyph->height ); -- cgit v1.2.3