summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-01-30 13:47:15 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-01-30 13:47:15 +0000
commit1785efcb1a75f5247fe71d340a4f905b3c340711 (patch)
tree6a9397ac272b85ff73563022e70945593eb698dc /src/game.cpp
parentcf6262f604bb695285921922b52ae02cae265151 (diff)
downloadmana-1785efcb1a75f5247fe71d340a4f905b3c340711.tar.gz
mana-1785efcb1a75f5247fe71d340a4f905b3c340711.tar.bz2
mana-1785efcb1a75f5247fe71d340a4f905b3c340711.tar.xz
mana-1785efcb1a75f5247fe71d340a4f905b3c340711.zip
Corrected Toggle fullscreen code
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index bf41f90f..bfea0f35 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -242,7 +242,7 @@ void do_input()
}
#else
int displayFlags = 0;
- if ((int)config.getValue("screen", 0)) {
+ if ((int)config.getValue("screen", 0) == 0) {
displayFlags |= SDL_FULLSCREEN;
config.setValue("screen", 1);
}