From 9b1836ddc74fe2d85832700e6379fae4b58a84b8 Mon Sep 17 00:00:00 2001 From: Jerry Date: Thu, 13 Aug 2020 15:21:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DUTF8=E8=A7=A3=E7=A0=81?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=B8=ADuiCharacterLength=E6=9C=AA=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GUI/src/SGUI_Text.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GUI/src/SGUI_Text.c b/GUI/src/SGUI_Text.c index ccc7c5e..aba8104 100644 --- a/GUI/src/SGUI_Text.c +++ b/GUI/src/SGUI_Text.c @@ -398,9 +398,9 @@ SGUI_CSZSTR SGUI_Text_StepNext_UTF8(SGUI_CSZSTR cszSrc, SGUI_UINT32* puiCode) /*----------------------------------*/ /* Initialize */ /*----------------------------------*/ - pcNextChar = cszSrc; - uiCode = 0; - + pcNextChar = cszSrc; + uiCode = 0; + uiCharacterLength = 0; /*----------------------------------*/ /* Process */ /*----------------------------------*/