aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-06 18:43:36 +0200
committerEugene Sandulenko2016-06-06 18:43:36 +0200
commit04bb80bc7191069797edfcbb523439c805eef599 (patch)
treea758b7755719b658545a2a82ab7a6b4f3b94873f
parent8e4f892ef9e6ad6c2809449373adb8cbad88aa9b (diff)
downloadscummvm-rg350-04bb80bc7191069797edfcbb523439c805eef599.tar.gz
scummvm-rg350-04bb80bc7191069797edfcbb523439c805eef599.tar.bz2
scummvm-rg350-04bb80bc7191069797edfcbb523439c805eef599.zip
GUI: Fix regression
-rw-r--r--gui/ThemeEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 5e2bbb0419..0ed020ebb8 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -865,7 +865,7 @@ void ThemeEngine::queueDD(DrawData type, const Common::Rect &r, uint32 dynamic,
void ThemeEngine::queueDDText(TextData type, TextColor color, const Common::Rect &r, const Common::String &text, bool restoreBg,
bool ellipsis, Graphics::TextAlign alignH, TextAlignVertical alignV, int deltax, const Common::Rect &drawableTextArea) {
- if (type != kTextDataNone || _texts[type] == 0)
+ if (type == kTextDataNone || _texts[type] == 0)
return;
Common::Rect area = r;