From 78e85ce0539dbd2864cafb927fc7ab315b8a52d3 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 26 Apr 2010 15:30:32 +0000 Subject: SCI: fixing regression from r48771 - sierra used != before SCI1LATE and !(&) later - fixes broken windows in sq1 svn-id: r48807 --- engines/sci/graphics/ports.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci') 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); -- cgit v1.2.3