aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/graphics/ports.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp
index 1a77e6c6ae..bbe0c4adb0 100644
--- a/engines/sci/graphics/ports.cpp
+++ b/engines/sci/graphics/ports.cpp
@@ -314,11 +314,10 @@ void GfxPorts::drawWindow(Window *pWnd) {
_paint16->frameRect(r);// draw actual window frame
if (wndStyle & SCI_WINDOWMGR_STYLE_TITLE) {
+ r.bottom = r.top + 10;
if (getSciVersion() <= SCI_VERSION_0_LATE) {
// draw a black line between titlebar and actual window content for SCI0
- r.bottom = r.top + 10;
_paint16->frameRect(r);
- r.bottom = pWnd->dims.bottom - 1;
}
r.grow(-1);
if (getSciVersion() <= SCI_VERSION_0_LATE)
@@ -333,6 +332,7 @@ void GfxPorts::drawWindow(Window *pWnd) {
}
r.grow(+1);
+ r.bottom = pWnd->dims.bottom - 1;
r.top += 9;
}