summarylogtreecommitdiffstats
path: root/funguloids-strcmp.patch
blob: 2c425caf2da3038ecf0eca558ec4b503bbbcb8a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/ogrelistener.cpp
+++ src/ogrelistener.cpp
@@ -130,7 +130,7 @@
 
 
 	// Show debug info?
-	if(GameApplication::mGameConfig->GetValue("graphics", "debug_info", "off") == "on") {
+	if(strcmp(GameApplication::mGameConfig->GetValue("graphics", "debug_info", "off"),"on") == 0) {
 		showDebugOverlay(true);
 		mStatsOn = true;
 	}