Fix a pointer ARRAY_SIZE() compare (eek.)

This commit is contained in:
Unknown W. Brackets 2013-08-12 23:33:40 -07:00
parent c6c821a0f7
commit 83373b8d87

View file

@ -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;
}