diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2010-03-31 18:45:47 +0200 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2010-04-26 12:28:25 +0200 |
| commit | e30f6f65d97d751e8e9a45171f7806737b4ecc41 (patch) | |
| tree | 172e0be3fc1b773e4b39ffdb71fa9a15e5ba4871 /lib/gdi | |
| parent | a2ef0a242972e70e4229441ea94f7712fcf66aff (diff) | |
| download | enigma2-e30f6f65d97d751e8e9a45171f7806737b4ecc41.tar.gz enigma2-e30f6f65d97d751e8e9a45171f7806737b4ecc41.zip | |
add missing parentheses
Diffstat (limited to 'lib/gdi')
| -rw-r--r-- | lib/gdi/font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |
