aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-main.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-02-03 16:11:46 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-02-03 17:43:25 -0800
commitca6a241a97728a46db876b6e06bbaeaf75e674a9 (patch)
treeb940a7b1796f35d330db52d6f257fa5966177f87 /subsurface-mobile-main.cpp
parent855995191ca997ddc41e3ce23422e4adbad16949 (diff)
downloadsubsurface-ca6a241a97728a46db876b6e06bbaeaf75e674a9.tar.gz
Add argument to subsurface_console_init call
Subsurface-mobile doesn't work on Windows, so we can just hardcode this to false. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-main.cpp')
-rw-r--r--subsurface-mobile-main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp
index 47680d439..87fbd48d1 100644
--- a/subsurface-mobile-main.cpp
+++ b/subsurface-mobile-main.cpp
@@ -27,7 +27,7 @@ int main(int argc, char **argv)
bool dedicated_console = arguments.length() > 1 &&
(arguments.at(1) == QString("--win32console"));
- subsurface_console_init(dedicated_console);
+ subsurface_console_init(dedicated_console, false);
for (i = 1; i < arguments.length(); i++) {
QString a = arguments.at(i);