From 6ae1e5cc7a3b21c3b993ca8d02baa6c0fb4c4f4f Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 15 Apr 2016 10:53:48 +0200 Subject: WAGE: Fix window title drawing --- engines/wage/macwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/wage/macwindow.cpp b/engines/wage/macwindow.cpp index 1551dacb78..41d842286a 100644 --- a/engines/wage/macwindow.cpp +++ b/engines/wage/macwindow.cpp @@ -139,7 +139,7 @@ static void drawPixelInverted(int x, int y, int color, void *data) { void MacWindow::drawBorder() { _borderIsDirty = false; - bool active = _active, scrollable = _scrollable, closeable = _active, drawTitle = _title.empty(); + bool active = _active, scrollable = _scrollable, closeable = _active, drawTitle = !_title.empty(); const int size = kBorderWidth; int x = 0; int y = 0; -- cgit v1.2.3