CRYOMNI3D: Let user type spaces in save names

This commit is contained in:
Le Philousophe 2019-03-11 21:03:40 +01:00 committed by Eugene Sandulenko
parent 2860d5caac
commit 4ceb3e4b07

View File

@ -724,7 +724,7 @@ unsigned int CryOmni3DEngine_Versailles::displayFilePicker(const Graphics::Surfa
selectedSaveName.deleteLastChar();
textCursorNextState = 0;
redraw = true;
} else if (key.ascii > 32 && key.ascii < 256 && selectedSaveName.size() < 20) {
} else if (key.ascii >= 32 && key.ascii < 256 && selectedSaveName.size() < 20) {
selectedSaveName += key.ascii;
textCursorNextState = 0;
redraw = true;