aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed/fs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/testbed/fs.cpp')
-rw-r--r--engines/testbed/fs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/testbed/fs.cpp b/engines/testbed/fs.cpp
index e2bedb1898..62ac616192 100644
--- a/engines/testbed/fs.cpp
+++ b/engines/testbed/fs.cpp
@@ -167,7 +167,7 @@ TestExitStatus FStests::testWriteFile() {
return kTestPassed;
}
- return kTestFailed;
+ return kTestFailed;
}
@@ -189,7 +189,7 @@ FSTestSuite::FSTestSuite() {
}
void FSTestSuite::enable(bool flag) {
- Testsuite::enable(ConfParams.isGameDataFound() & flag);
+ Testsuite::enable(ConfParams.isGameDataFound() ? flag : false);
}
} // End of namespace Testbed