diff options
author | Eugene Sandulenko | 2008-08-02 21:22:05 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2008-08-02 21:22:05 +0000 |
commit | 7e808d771434f893f67e8c64d95f826614c46594 (patch) | |
tree | 528e5976c1ec509a9796117184305440b226016d /engines/drascula | |
parent | 4d10465cdf91c7381449e0120adc183dd2e4ca05 (diff) | |
download | scummvm-rg350-7e808d771434f893f67e8c64d95f826614c46594.tar.gz scummvm-rg350-7e808d771434f893f67e8c64d95f826614c46594.tar.bz2 scummvm-rg350-7e808d771434f893f67e8c64d95f826614c46594.zip |
Fix bug #2007170: "DRASCULA: No Spaces in SaveGames Names"
svn-id: r33541
Diffstat (limited to 'engines/drascula')
-rw-r--r-- | engines/drascula/interface.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/drascula/interface.cpp b/engines/drascula/interface.cpp index 6e86788007..088c3c3704 100644 --- a/engines/drascula/interface.cpp +++ b/engines/drascula/interface.cpp @@ -128,12 +128,8 @@ void DrasculaEngine::enterName() { if (key != 0) { if (key >= 0 && key <= 0xFF && isalpha(key)) select2[v] = tolower(key); - else if ((key == Common::KEYCODE_LCTRL) || (key == Common::KEYCODE_RCTRL)) - select2[v] = '\164'; - else if (key >= Common::KEYCODE_0 && key <= Common::KEYCODE_9) + else if ((key >= Common::KEYCODE_0 && key <= Common::KEYCODE_9) || key == Common::KEYCODE_SPACE) select2[v] = key; - else if (key == Common::KEYCODE_SPACE) - select2[v] = '\167'; else if (key == Common::KEYCODE_ESCAPE) break; else if (key == Common::KEYCODE_RETURN) { |