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 | |
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')
-rw-r--r-- | engines/sci/engine/kernel.h | 4 | ||||
-rw-r--r-- | engines/sci/gui/gui_gfx.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kernel.h b/engines/sci/engine/kernel.h index 2e9025eba0..e01a8e8722 100644 --- a/engines/sci/engine/kernel.h +++ b/engines/sci/engine/kernel.h @@ -37,8 +37,8 @@ namespace Sci { -struct Node; // from vm.h -struct List; // from vm.h +struct Node; // from segment.h +struct List; // from segment.h #define AVOIDPATH_DYNMEM_STRING "AvoidPath polyline" //#define DEBUG_PARSER // enable for parser debugging 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; |