From ab1208363b2b827f2cb1fedd849aae28073e8761 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 22 Nov 2022 00:58:37 +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 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;