aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-15 10:53:48 +0200
committerEugene Sandulenko2016-04-15 17:24:15 +0200
commit6ae1e5cc7a3b21c3b993ca8d02baa6c0fb4c4f4f (patch)
treef70c3e7dc0951eeb63f8759038e285f3ccfca5d3
parent78dc8be3dcb099ac1ba33748fefbe5f2aa2966bd (diff)
downloadscummvm-rg350-6ae1e5cc7a3b21c3b993ca8d02baa6c0fb4c4f4f.tar.gz
scummvm-rg350-6ae1e5cc7a3b21c3b993ca8d02baa6c0fb4c4f4f.tar.bz2
scummvm-rg350-6ae1e5cc7a3b21c3b993ca8d02baa6c0fb4c4f4f.zip
WAGE: Fix window title drawing
-rw-r--r--engines/wage/macwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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;