aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/main.cpp b/base/main.cpp
index a494715a6a..9f02ba4350 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -283,7 +283,7 @@ int main(int argc, char *argv[]) {
}
// (De)activate fullscreen mode as determined by the config settings
- if (ConfMan.getBool("fullscreen") != system->property(OSystem::PROP_GET_FULLSCREEN, 0))
+ if (ConfMan.getBool("fullscreen") != (system->property(OSystem::PROP_GET_FULLSCREEN, 0) != 0))
system->property(OSystem::PROP_TOGGLE_FULLSCREEN, 0);
// Create the game engine