mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 08:13:34 +01:00
Fix a pointer ARRAY_SIZE() compare (eek.)
This commit is contained in:
1 parent
c6c821a0f7
commit
83373b8d87
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user