add missing parentheses
[enigma2.git] / lib / gdi / font.cpp
index dfac144c752d41c7506f59972fdb0a573a4ab6c4..b7d3c1db75a3286d7ab812384b9a04f67e6da2f5 100644 (file)
@@ -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 );