diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index 1c6003d..5e3d381 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -187,7 +187,7 @@ void fntTexFont::getBBox ( const char *s, if ((cc & 0x80)==0) { SG_LOG(SG_GUI,SG_ALERT, "ASSIC cc=" << cc); } - if ( (cc & 0XE0) == 1) { + if ( (cc & 0XE0) == 0XE0) { SG_LOG(SG_GUI,SG_ALERT, "UTF8 cc=" << cc); }