diff options
author | Willem Jan Palenstijn | 2009-10-06 17:16:27 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-10-06 17:16:27 +0000 |
commit | d1bca7ced6ff4d20906720ef72a490cddfba4a64 (patch) | |
tree | 55ade725f3009db52caff69c577297beef611a9f /engines/sci/gui | |
parent | 1342d0482110ca26bffdf10bbc66eb377e22fd03 (diff) | |
download | scummvm-rg350-d1bca7ced6ff4d20906720ef72a490cddfba4a64.tar.gz scummvm-rg350-d1bca7ced6ff4d20906720ef72a490cddfba4a64.tar.bz2 scummvm-rg350-d1bca7ced6ff4d20906720ef72a490cddfba4a64.zip |
SCI: Minor cleanup
svn-id: r44706
Diffstat (limited to 'engines/sci/gui')
-rw-r--r-- | engines/sci/gui/gui_gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_gfx.cpp b/engines/sci/gui/gui_gfx.cpp index e6b2c85464..0eb840a727 100644 --- a/engines/sci/gui/gui_gfx.cpp +++ b/engines/sci/gui/gui_gfx.cpp @@ -172,7 +172,7 @@ void SciGuiGfx::PaintRect(const Common::Rect &rect) { } void SciGuiGfx::FillRect(const Common::Rect &rect, int16 drawFlags, byte clrPen, byte clrBack, byte bControl) { - Common::Rect r(rect.left, rect.top, rect.right, rect.bottom); + Common::Rect r = rect; r.clip(_curPort->rect); if (r.isEmpty()) // nothing to fill return; |