From 57351b02f2d4e197d3f2d59b787d6d3e53550bd6 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 22 Nov 2022 11:56:52 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/fonts/fnt.cxx b/3rdparty/fonts/fnt.cxx index 9a1a4bd..162ff83 100644 --- a/3rdparty/fonts/fnt.cxx +++ b/3rdparty/fonts/fnt.cxx @@ -57,7 +57,7 @@ float fntTexFont::low_putch ( sgVec3 curpos, float pointsize, //SG_LOG(SG_GUI,SG_ALERT, "UTF8 cc<<4 " << x); - cc = (unsigned char) *(s++) ; + cc = (unsigned char) *(c++) ; //SG_LOG(SG_GUI,SG_ALERT, "UTF81 cc=" << cc); @@ -65,7 +65,7 @@ float fntTexFont::low_putch ( sgVec3 curpos, float pointsize, int y = (cc & 0x03) << 6 ; - cc = (unsigned char) *(s++) ; + cc = (unsigned char) *(c++) ; //SG_LOG(SG_GUI,SG_ALERT, "UTF82 cc=" << cc);