Draw 16, not 15 characters max in the OSK.

This is a convenient number because passwords in some games are 16
characters long.  16 seems more likely to be choosen by developers as a
limit, and still fits well enough within the bounds.
This commit is contained in:
Unknown W. Brackets 2014-02-02 15:50:02 -08:00
parent 77acd0729f
commit 6c8f310322

View File

@ -706,7 +706,7 @@ void PSPOskDialog::RenderKeyboard()
std::string buffer;
u32 FIELDDRAWMAX = 15;
static const u32 FIELDDRAWMAX = 16;
u32 limit = FieldMaxLength();
u32 drawLimit = std::min(FIELDDRAWMAX, limit); // Field drew length limit.