mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
fix(ui): fix StringToJustify to support BOTTOM
This commit is contained in:
parent
7ae43b73fb
commit
1539c56ace
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue