替换方框字符修复
authorhcj <1224667075@qq.com>
Sat, 28 Sep 2024 01:17:15 +0000 (09:17 +0800)
committerhcj <1224667075@qq.com>
Sat, 28 Sep 2024 01:17:15 +0000 (09:17 +0800)
code/sdk/application/wearable/CustomUIComponentTool/uicomponents/UIComponents.cpp

index db029af..8000879 100644 (file)
@@ -883,7 +883,7 @@ namespace OHOS
                 }
                 if(mod_num!=0)
                 {
-                    for(int x=0;x<num;x++)
+                    for(int x=0;x<mod_num;x++)
                     {
                         str_[i+offset]=' ';
                         offset+=1;