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>
This commit is contained in:
Dirk Hohndel 2017-02-03 16:11:46 -08:00
parent 855995191c
commit ca6a241a97

View file

@ -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);