aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2006-04-11 16:32:03 +0000
committerJohannes Schickel2006-04-11 16:32:03 +0000
commitea6c62ba3de6c70241c0f276c9e6955f8ea86e30 (patch)
treee5fe4dd7d0a91660b145cca528677b6296f39ffd
parent521697be016acf13d1c201c35ee7627b614df2a7 (diff)
downloadscummvm-rg350-ea6c62ba3de6c70241c0f276c9e6955f8ea86e30.tar.gz
scummvm-rg350-ea6c62ba3de6c70241c0f276c9e6955f8ea86e30.tar.bz2
scummvm-rg350-ea6c62ba3de6c70241c0f276c9e6955f8ea86e30.zip
Draws the same border for 'kWidgetBackgroundPlain' as for 'kWidgetBackgroundBorderSmall'.
This fixes missing border in the pop up widget. svn-id: r21796
-rw-r--r--gui/ThemeClassic.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gui/ThemeClassic.cpp b/gui/ThemeClassic.cpp
index 175bfe04db..47cb4c6122 100644
--- a/gui/ThemeClassic.cpp
+++ b/gui/ThemeClassic.cpp
@@ -188,14 +188,11 @@ void ThemeClassic::drawWidgetBackground(const Common::Rect &r, uint16 hints, kWi
box(r.left, r.top, r.width(), r.height(), _color, _shadowcolor);
break;
+ case kWidgetBackgroundPlain:
case kWidgetBackgroundBorderSmall:
box(r.left, r.top, r.width(), r.height());
break;
- case kWidgetBackgroundPlain:
- // nothing to do here
- break;
-
default:
break;
};