diff options
author | Johannes Schickel | 2007-02-27 17:12:16 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-02-27 17:12:16 +0000 |
commit | 75af37327893e9698e91a88801e9dd5289de10cf (patch) | |
tree | d7f7011f088e2cde2981d3b7631ec2cc83bd02e3 /gui | |
parent | 56f65a50028e32697429edb6d5df268f1a3916ad (diff) | |
download | scummvm-rg350-75af37327893e9698e91a88801e9dd5289de10cf.tar.gz scummvm-rg350-75af37327893e9698e91a88801e9dd5289de10cf.tar.bz2 scummvm-rg350-75af37327893e9698e91a88801e9dd5289de10cf.zip |
ops missed one spot last commit.
svn-id: r25899
Diffstat (limited to 'gui')
-rw-r--r-- | gui/ThemeModern.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeModern.cpp b/gui/ThemeModern.cpp index c791d154a5..80edc9702d 100644 --- a/gui/ThemeModern.cpp +++ b/gui/ThemeModern.cpp @@ -576,7 +576,7 @@ void ThemeModern::drawTab(const Common::Rect &r, int tabHeight, int tabWidth, co /*(state == kStateDisabled) ? -30 : */256, _colors[kTabBackgroundStart], _colors[kTabBackgroundEnd], _gradientFactors[kTabFactor]); - OverlayColor tabEnd = calcGradient(_colors[kTabActiveStart], _colors[kTabActiveEnd], tabHeight, r.height(), _gradientFactors[kTabFactor]); + OverlayColor tabEnd = calcGradient(_colors[kTabActiveStart], _colors[kTabActiveEnd], tabHeight, r.height()-1, _gradientFactors[kTabFactor]); const int tabOffset = 1; |