aboutsummaryrefslogtreecommitdiff
path: root/engines/queen
diff options
context:
space:
mode:
authorYotam Barnoy2010-08-01 07:02:05 +0000
committerYotam Barnoy2010-08-01 07:02:05 +0000
commit8f04aff6dccd4abffc707ec11d365362044fcae5 (patch)
treefcc704002a358adad3e7818b066012f9c9dee80e /engines/queen
parentb02a326b893318dbf58eb3b383d8b0208ec8e8c2 (diff)
downloadscummvm-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.cpp2
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;