aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Cawley2019-09-06 13:53:26 +0100
committerCameron Cawley2019-09-06 13:53:26 +0100
commit0b4869b92b298e5a179ed5ab2d4a43e766b58c76 (patch)
tree99fb792d6dbfd8b4a4ff55359ab2342c174be5bf
parent7a8ddcbe38a828c6c674bd6147bcddfc6734c97b (diff)
downloadscummvm-rg350-0b4869b92b298e5a179ed5ab2d4a43e766b58c76.tar.gz
scummvm-rg350-0b4869b92b298e5a179ed5ab2d4a43e766b58c76.tar.bz2
scummvm-rg350-0b4869b92b298e5a179ed5ab2d4a43e766b58c76.zip
RISCOS: Fix checking the "enable_reporter" config option
-rw-r--r--backends/platform/sdl/riscos/riscos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/riscos/riscos.cpp b/backends/platform/sdl/riscos/riscos.cpp
index a0173ed653..355dee1cc6 100644
--- a/backends/platform/sdl/riscos/riscos.cpp
+++ b/backends/platform/sdl/riscos/riscos.cpp
@@ -91,7 +91,7 @@ void OSystem_RISCOS::logMessage(LogMessageType::Type type, const char *message)
OSystem_SDL::logMessage(type, message);
// Log messages using !Reporter, available from http://www.avisoft.force9.co.uk/Reporter.htm
- if (!ConfMan.getBool("enable_reporter"))
+ if (!(ConfMan.hasKey("enable_reporter") && ConfMan.getBool("enable_reporter")))
return;
char colour;