aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/advsys/glk_interface.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-06-13 19:43:34 -0700
committerPaul Gilbert2019-06-13 20:45:53 -0700
commit4f7c9899f214d327fa0181b47435370275ffd8ae (patch)
tree843e1f88aa980cfda982dab688a3b5e18a3fe4f5 /engines/glk/advsys/glk_interface.cpp
parent8759a9e851283c69e8c86ce15eed7e2e53bc032c (diff)
downloadscummvm-rg350-4f7c9899f214d327fa0181b47435370275ffd8ae.tar.gz
scummvm-rg350-4f7c9899f214d327fa0181b47435370275ffd8ae.tar.bz2
scummvm-rg350-4f7c9899f214d327fa0181b47435370275ffd8ae.zip
GLK: ADVSYS: Initialization fixes
Diffstat (limited to 'engines/glk/advsys/glk_interface.cpp')
-rw-r--r--engines/glk/advsys/glk_interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/advsys/glk_interface.cpp b/engines/glk/advsys/glk_interface.cpp
index 3e1ccb6a3b..be164f21cd 100644
--- a/engines/glk/advsys/glk_interface.cpp
+++ b/engines/glk/advsys/glk_interface.cpp
@@ -27,7 +27,7 @@ namespace AdvSys {
bool GlkInterface::initialize() {
_window = glk_window_open(0, 0, 0, wintype_TextBuffer, 1);
- return !_window;
+ return _window != nullptr;
}
void GlkInterface::print(const Common::String &msg) {