From 3b25947db1ae71278de2e533cc47069ca0b9a59f Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 22 Nov 2022 00:24:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'3rdparty/fonts/fnt.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdparty/fonts/fnt.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }