mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix a pointer ARRAY_SIZE() compare (eek.)
This commit is contained in:
parent
c6c821a0f7
commit
83373b8d87
1 changed files with 1 additions and 1 deletions
|
@ -794,7 +794,7 @@ int PSPOskDialog::NativeKeyboard()
|
|||
for (u32 i = 0, end = oskParams->fields[0].outtextlength; i < end; ++i)
|
||||
{
|
||||
u16 value = 0;
|
||||
if (i < ARRAY_SIZE(input))
|
||||
if (i < FieldMaxLength())
|
||||
value = input[i];
|
||||
outText[i] = value;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue