Merge pull request #64 from 12014/expansion_chs

修复存档界面的徽章单位显示问题
This commit is contained in:
RoamerX 2025-07-13 13:01:30 +08:00 committed by GitHub
commit 15817fad5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2271,11 +2271,12 @@ void BufferSaveMenuText(u8 textId, u8 *dest, u8 color)
if (FlagGet(curFlag))
flagCount++;
}
*string = flagCount + CHAR_0;
string++;
//修改,增加徽章单位显示
StringAppend(string, COMPOUND_STRING(""));
//*string = flagCount + CHAR_0;
//*string++ = EOS; //修正错误
//*endOfString = EOS;
ConvertIntToDecimalStringN(string, flagCount, STR_CONV_MODE_LEADING_ZEROS, 1);
StringAppend(string, COMPOUND_STRING(""));
*endOfString = EOS;
break;
}