aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/detection.cpp')
-rw-r--r--engines/lab/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/detection.cpp b/engines/lab/detection.cpp
index 4a01414118..52d284562e 100644
--- a/engines/lab/detection.cpp
+++ b/engines/lab/detection.cpp
@@ -180,7 +180,7 @@ SaveStateList LabMetaEngine::listSaves(const char *target) const {
// Obtain the last 3 digits of the filename, since they correspond to the save slot
int slotNum = atoi(file->c_str() + file->size() - 3);
- if (slotNum >= 0 && slotNum <= 999) {
+ if ((slotNum >= 0) && (slotNum <= 999)) {
Common::InSaveFile *in = saveFileMan->openForLoading(file->c_str());
if (in) {
if (Lab::readSaveGameHeader(in, header))