aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/utils/utils.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-09 04:09:15 +0200
committerEinar Johan Trøan Sømåen2012-07-09 04:09:15 +0200
commit7c984d24a8cd2ebe5a7860e21cda392edada34b3 (patch)
tree36d6cd53884107f29a451ffe1b06370e3fdc7f67 /engines/wintermute/utils/utils.cpp
parent1eea9ad1a3ae577195363abe475cfbbee33d153b (diff)
downloadscummvm-rg350-7c984d24a8cd2ebe5a7860e21cda392edada34b3.tar.gz
scummvm-rg350-7c984d24a8cd2ebe5a7860e21cda392edada34b3.tar.bz2
scummvm-rg350-7c984d24a8cd2ebe5a7860e21cda392edada34b3.zip
WINTERMUTE: Change RECT -> Common::Rect and POINT-> Common::Point, completing the removal of Windows-specifics in wintypes.h
Diffstat (limited to 'engines/wintermute/utils/utils.cpp')
-rw-r--r--engines/wintermute/utils/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/utils/utils.cpp b/engines/wintermute/utils/utils.cpp
index ca68b3c691..d672656973 100644
--- a/engines/wintermute/utils/utils.cpp
+++ b/engines/wintermute/utils/utils.cpp
@@ -45,7 +45,7 @@ static inline unsigned Sqr(int x) {
//////////////////////////////////////////////////////////////////////////////////
-void CBUtils::clip(int *destX, int *destY, RECT *srcRect, RECT *destRect) {
+void CBUtils::clip(int *destX, int *destY, Common::Rect *srcRect, Common::Rect *destRect) {
// If it's partly off the right side of the screen
if (*destX + (srcRect->right - srcRect->left) > destRect->right)
srcRect->right -= *destX + (srcRect->right - srcRect->left) - destRect->right;