aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/save/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/save/saveload.cpp b/engines/gob/save/saveload.cpp
index 81239f07dc..27e3b34655 100644
--- a/engines/gob/save/saveload.cpp
+++ b/engines/gob/save/saveload.cpp
@@ -42,7 +42,7 @@ SaveLoad::~SaveLoad() {
const char *SaveLoad::stripPath(const char *fileName) {
const char *backSlash;
- if ((backSlash = strrchr(fileName, '\\')))
+ if (backSlash = strrchr(fileName, '\\'))
return backSlash + 1;
return fileName;