Allow entry of space and some letters such as 'r' and 'p' as parts of
save names. svn-id: r18305
This commit is contained in:
parent
6d0082d29d
commit
f8f9ed18a8
3 changed files with 10 additions and 2 deletions
|
@ -858,7 +858,8 @@ void Interface::processTextInput(uint16 ascii) {
|
|||
default:
|
||||
if (((ascii >= 'a') && (ascii <='z')) ||
|
||||
((ascii >= '0') && (ascii <='9')) ||
|
||||
((ascii >= 'A') && (ascii <='Z'))) {
|
||||
((ascii >= 'A') && (ascii <='Z')) ||
|
||||
(ascii == ' ')) {
|
||||
if (_textInputStringLength < SAVE_TITLE_SIZE - 1) {
|
||||
ch[0] = ascii;
|
||||
tempWidth = _vm->_font->getStringWidth(SMALL_FONT_ID, ch, 0, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue