fix(ui): fix StringToJustify to support BOTTOM

This commit is contained in:
VDm 2025-03-18 00:52:49 +04:00
parent 2e2e5b9a78
commit 6b2e0c089c

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;