aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2012-08-09 03:27:21 +0200
committerJohannes Schickel2012-08-09 03:27:21 +0200
commit571fa943106009b99a39bbe0a729f9c32afa8a9a (patch)
treece2bce4c510fefcb82d1994c9c0862487fef1e07
parent18ab9a1ef12aa2d929245e14d2e04aaf05437247 (diff)
downloadscummvm-rg350-571fa943106009b99a39bbe0a729f9c32afa8a9a.tar.gz
scummvm-rg350-571fa943106009b99a39bbe0a729f9c32afa8a9a.tar.bz2
scummvm-rg350-571fa943106009b99a39bbe0a729f9c32afa8a9a.zip
TESTBED: Fix "if" formatting.
-rw-r--r--engines/testbed/graphics.cpp4
-rw-r--r--engines/testbed/testsuite.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/testbed/graphics.cpp b/engines/testbed/graphics.cpp
index 082694b728..590e6c6d81 100644
--- a/engines/testbed/graphics.cpp
+++ b/engines/testbed/graphics.cpp
@@ -1028,7 +1028,7 @@ TestExitStatus GFXtests::paletteRotation() {
GFXTestSuite::setCustomColor(255, 0, 0);
Testsuite::clearScreen();
- if(Testsuite::handleInteractiveInput("Did you see a rotation in colors of rectangles displayed on screen?", "Yes", "No", kOptionRight)) {
+ if (Testsuite::handleInteractiveInput("Did you see a rotation in colors of rectangles displayed on screen?", "Yes", "No", kOptionRight)) {
return kTestFailed;
}
@@ -1121,7 +1121,7 @@ TestExitStatus GFXtests::pixelFormats() {
g_system->updateScreen();
g_system->delayMillis(500);
- if(Testsuite::handleInteractiveInput("Were you able to notice the colored rectangles on the screen for this format?", "Yes", "No", kOptionLeft)) {
+ if (Testsuite::handleInteractiveInput("Were you able to notice the colored rectangles on the screen for this format?", "Yes", "No", kOptionLeft)) {
numPassed++;
} else {
numFailed++;
diff --git a/engines/testbed/testsuite.cpp b/engines/testbed/testsuite.cpp
index 655179aa74..39eeca31bd 100644
--- a/engines/testbed/testsuite.cpp
+++ b/engines/testbed/testsuite.cpp
@@ -289,7 +289,7 @@ void Testsuite::execute() {
continue;
}
- if((*i)->isInteractive && !ConfParams.isSessionInteractive()) {
+ if ((*i)->isInteractive && !ConfParams.isSessionInteractive()) {
logPrintf("Info! Skipping Test: %s, non-interactive environment is selected\n", ((*i)->featureName).c_str());
_numTestsSkipped++;
continue;