couple of fixes

This commit is contained in:
aap 2019-07-20 14:39:38 +02:00
parent 29d7b983d7
commit 60045ec6cd
9 changed files with 22 additions and 24 deletions

View file

@ -1824,7 +1824,7 @@ char *CPad::EditString(char *pStr, int32 nSize)
}
// numbers
for ( int32 i = 0; i < ('0' - '9' + 1); i++ )
for ( int32 i = 0; i < ('9' - '0' + 1); i++ )
{
if ( GetPad(0)->GetCharJustDown(i + '0') && pos < nSize - 1 )
{