diff options
author | Martin Kiewitz | 2010-04-26 15:30:32 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-04-26 15:30:32 +0000 |
commit | 78e85ce0539dbd2864cafb927fc7ab315b8a52d3 (patch) | |
tree | c7b5095f369f2e442144dd832705a5fbad18c651 /engines/sci | |
parent | 3f601f15bf59650cd31b2415c257c4871707ecde (diff) | |
download | scummvm-rg350-78e85ce0539dbd2864cafb927fc7ab315b8a52d3.tar.gz scummvm-rg350-78e85ce0539dbd2864cafb927fc7ab315b8a52d3.tar.bz2 scummvm-rg350-78e85ce0539dbd2864cafb927fc7ab315b8a52d3.zip |
SCI: fixing regression from r48771 - sierra used != before SCI1LATE and !(&) later - fixes broken windows in sq1
svn-id: r48807
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/graphics/ports.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp index dd9d4952c4..631477a44e 100644 --- a/engines/sci/graphics/ports.cpp +++ b/engines/sci/graphics/ports.cpp @@ -303,7 +303,7 @@ void GfxPorts::drawWindow(Window *pWnd) { } // drawing frame,shadow and title - if (wndStyle != _styleUser) { + if ((getSciVersion() >= SCI_VERSION_1_LATE) ? !(wndStyle & _styleUser) : wndStyle != _styleUser) { r = pWnd->dims; if (!(wndStyle & SCI_WINDOWMGR_STYLE_NOFRAME)) { r.translate(1, 1); |