mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 02:52:47 +03:00
fix(ui): fix StringToJustify to support BOTTOM
This commit is contained in:
parent
2e2e5b9a78
commit
6b2e0c089c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user