From 0b4869b92b298e5a179ed5ab2d4a43e766b58c76 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Fri, 6 Sep 2019 13:53:26 +0100 Subject: RISCOS: Fix checking the "enable_reporter" config option --- backends/platform/sdl/riscos/riscos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3