diff options
Diffstat (limited to 'gui/ThemeNew.cpp')
-rw-r--r-- | gui/ThemeNew.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp index 3af06473fe..4234b542f1 100644 --- a/gui/ThemeNew.cpp +++ b/gui/ThemeNew.cpp @@ -329,7 +329,7 @@ void ThemeNew::drawWidgetBackground(const Common::Rect &r, uint16 hints, kWidget (state == kStateDisabled) ? 128 : 256, _colors[kWidgetBackgroundStart], _colors[kWidgetBackgroundEnd], 2); } - addDirtyRect(r, (hints & THEME_HINT_SAVE_BACKGROUND)); + addDirtyRect(r, (hints & THEME_HINT_SAVE_BACKGROUND) != 0); } void ThemeNew::drawButton(const Common::Rect &r, const Common::String &str, kState state) { |