diff options
author | Paul Gilbert | 2019-01-02 14:21:49 -0800 |
---|---|---|
committer | Paul Gilbert | 2019-01-02 14:23:40 -0800 |
commit | 3ed48e3de223259dd58f0c613c2d68d69848e5a2 (patch) | |
tree | 842ff37835be0081400a24e877b555b1d1a4037f /engines/glk/windows.cpp | |
parent | f1fdb0cd26b2645b7b012f5177f50bdaffcd10f9 (diff) | |
download | scummvm-rg350-3ed48e3de223259dd58f0c613c2d68d69848e5a2.tar.gz scummvm-rg350-3ed48e3de223259dd58f0c613c2d68d69848e5a2.tar.bz2 scummvm-rg350-3ed48e3de223259dd58f0c613c2d68d69848e5a2.zip |
GLK: FROTZ: Setting window positon & size, some property reading
Diffstat (limited to 'engines/glk/windows.cpp')
-rw-r--r-- | engines/glk/windows.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/windows.cpp b/engines/glk/windows.cpp index 0e59ebcf48..de8fa52385 100644 --- a/engines/glk/windows.cpp +++ b/engines/glk/windows.cpp @@ -103,8 +103,8 @@ Window *Windows::windowOpen(Window *splitwin, uint method, uint size, } val = (method & winmethod_DirMask); - if (val != winmethod_Above && val != winmethod_Below - && val != winmethod_Left && val != winmethod_Right) { + if (val != winmethod_Above && val != winmethod_Below && val != winmethod_Left + && val != winmethod_Right && val != winmethod_OnTop) { warning("window_open: invalid method (bad direction)"); return nullptr; } |