diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index beb842b..05197ba 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -199,7 +199,7 @@ void fntTexFont::getBBox ( const char *s, SG_LOG(SG_GUI,SG_ALERT, "UTF81 cc=" << cc); - x= x + (cc>>2) & 0x0F; + x= x + ((cc>>2) & 0x0F); int y = (cc & 0x03) * 0X3F;