fix(ui): fix StringToJustify to support BOTTOM

This commit is contained in:
VDm 2025-03-29 23:48:30 +04:00
parent 7ae43b73fb
commit 1539c56ace

View File

@ -150,7 +150,7 @@ int32_t StringToJustify(const char* string, uint32_t& justify) {
{ 0x20, "BOTTOM" }
};
for (int32_t i = 0; i < 5; i++) {
for (int32_t i = 0; i < 6; i++) {
if (!SStrCmpI(justifyMap[i].string, string, 0x7FFFFFFFu)) {
justify = justifyMap[i].value;
return 1;