From 04bb80bc7191069797edfcbb523439c805eef599 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 6 Jun 2016 18:43:36 +0200 Subject: GUI: Fix regression --- gui/ThemeEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3