diff options
author | Yotam Barnoy | 2010-08-01 07:02:05 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-08-01 07:02:05 +0000 |
commit | 8f04aff6dccd4abffc707ec11d365362044fcae5 (patch) | |
tree | fcc704002a358adad3e7818b066012f9c9dee80e /engines/queen | |
parent | b02a326b893318dbf58eb3b383d8b0208ec8e8c2 (diff) | |
download | scummvm-rg350-8f04aff6dccd4abffc707ec11d365362044fcae5.tar.gz scummvm-rg350-8f04aff6dccd4abffc707ec11d365362044fcae5.tar.bz2 scummvm-rg350-8f04aff6dccd4abffc707ec11d365362044fcae5.zip |
QUEEN: fix for bug 3036170. File name test supports upper case for transferring from Windows to other systems (e.g. PSP)
svn-id: r51566
Diffstat (limited to 'engines/queen')
-rw-r--r-- | engines/queen/queen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/queen/queen.cpp b/engines/queen/queen.cpp index 5cda4e3208..74bb52f574 100644 --- a/engines/queen/queen.cpp +++ b/engines/queen/queen.cpp @@ -422,7 +422,7 @@ void QueenEngine::makeGameStateName(int slot, char *buf) const { int QueenEngine::getGameStateSlot(const char *filename) const { int i = -1; const char *slot = strrchr(filename, '.'); - if (slot && slot[1] == 's') { + if (slot && (slot[1] == 's' || slot[1] == 'S')) { i = atoi(slot + 2); } return i; |