aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-01-31 08:03:21 +0000
committerTorbjörn Andersson2006-01-31 08:03:21 +0000
commit9246a7a532f84a2a87189caa96dd5a336eae42d9 (patch)
tree379575eab1e7f24de4eb50554dcba0045b78aec7
parent46c961f28dee19183671f19a9254fc6b340cb365 (diff)
downloadscummvm-rg350-9246a7a532f84a2a87189caa96dd5a336eae42d9.tar.gz
scummvm-rg350-9246a7a532f84a2a87189caa96dd5a336eae42d9.tar.bz2
scummvm-rg350-9246a7a532f84a2a87189caa96dd5a336eae42d9.zip
I assume this call to restoreBackground() is unnecessary.
svn-id: r20328
-rw-r--r--gui/ThemeNew.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp
index bf177cfe92..0322227d97 100644
--- a/gui/ThemeNew.cpp
+++ b/gui/ThemeNew.cpp
@@ -355,7 +355,6 @@ void ThemeNew::drawButton(const Common::Rect &r, const Common::String &str, kSta
if (!_initOk)
return;
- restoreBackground(r);
drawRectMasked(r, surface(kWidgetBkgdCorner), surface(kWidgetBkgdTop), surface(kWidgetBkgdLeft), surface(kWidgetBkgd),
(state == kStateDisabled) ? 128 : 256, _colors[kButtonBackgroundStart], _colors[kButtonBackgroundEnd], 2);