aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorLe Philousophe2019-03-11 21:03:40 +0100
committerEugene Sandulenko2019-06-01 22:43:48 +0200
commit4ceb3e4b079cd9df9fc28267c900e51fdcef5ff0 (patch)
tree876a3672c897347d23811b947e2a4c9b5e6779fb /engines
parent2860d5caacf76897e6ef1c857270e48f0fdc7a4a (diff)
downloadscummvm-rg350-4ceb3e4b079cd9df9fc28267c900e51fdcef5ff0.tar.gz
scummvm-rg350-4ceb3e4b079cd9df9fc28267c900e51fdcef5ff0.tar.bz2
scummvm-rg350-4ceb3e4b079cd9df9fc28267c900e51fdcef5ff0.zip
CRYOMNI3D: Let user type spaces in save names
Diffstat (limited to 'engines')
-rw-r--r--engines/cryomni3d/versailles/menus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cryomni3d/versailles/menus.cpp b/engines/cryomni3d/versailles/menus.cpp
index a60726f1a8..da212eac31 100644
--- a/engines/cryomni3d/versailles/menus.cpp
+++ b/engines/cryomni3d/versailles/menus.cpp
@@ -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;