From 4ceb3e4b079cd9df9fc28267c900e51fdcef5ff0 Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Mon, 11 Mar 2019 21:03:40 +0100 Subject: [PATCH] CRYOMNI3D: Let user type spaces in save names --- engines/cryomni3d/versailles/menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/cryomni3d/versailles/menus.cpp b/engines/cryomni3d/versailles/menus.cpp index a60726f1a8e..da212eac317 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;