diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-31 02:55:26 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-31 02:55:26 +0000 |
commit | b0d28814ecdd29d3f33ab926b3ff3c325675e3b2 (patch) | |
tree | 57878c3e9900db640a34df7c319dbd930c18ab24 /src/gui/scrollarea.cpp | |
parent | 3b1cb45812fe4308073057c27837bc0c69a5d35e (diff) | |
download | mana-b0d28814ecdd29d3f33ab926b3ff3c325675e3b2.tar.gz mana-b0d28814ecdd29d3f33ab926b3ff3c325675e3b2.tar.bz2 mana-b0d28814ecdd29d3f33ab926b3ff3c325675e3b2.tar.xz mana-b0d28814ecdd29d3f33ab926b3ff3c325675e3b2.zip |
Various small cleanups.
Diffstat (limited to 'src/gui/scrollarea.cpp')
-rw-r--r-- | src/gui/scrollarea.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/scrollarea.cpp b/src/gui/scrollarea.cpp index d1873cb5..7f39b5a8 100644 --- a/src/gui/scrollarea.cpp +++ b/src/gui/scrollarea.cpp @@ -199,7 +199,6 @@ void ScrollArea::draw(gcn::Graphics *graphics) if (mContent) { - gcn::Rectangle contdim = mContent->getDimension(); graphics->pushClipArea(getContentDimension()); if (mContent->getBorderSize() > 0) @@ -214,7 +213,7 @@ void ScrollArea::draw(gcn::Graphics *graphics) graphics->popClipArea(); } - graphics->pushClipArea(contdim); + graphics->pushClipArea(mContent->getDimension()); mContent->draw(graphics); graphics->popClipArea(); graphics->popClipArea(); |