aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2009-11-09 22:21:23 +0000
committerMax Horn2009-11-09 22:21:23 +0000
commitb3c3222c231b599c6891d63e8c7ca1c478ae44c0 (patch)
tree75d9ff9c04735ec39f3e0ba25a2959b75897248e
parent53d0bcd594e180b6dc9a464f4aab69d03f9ebf21 (diff)
downloadscummvm-rg350-b3c3222c231b599c6891d63e8c7ca1c478ae44c0.tar.gz
scummvm-rg350-b3c3222c231b599c6891d63e8c7ca1c478ae44c0.tar.bz2
scummvm-rg350-b3c3222c231b599c6891d63e8c7ca1c478ae44c0.zip
TINSEL: cleanup
svn-id: r45787
-rw-r--r--engines/tinsel/dialogs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tinsel/dialogs.cpp b/engines/tinsel/dialogs.cpp
index 2c492529c9..ed59b5669b 100644
--- a/engines/tinsel/dialogs.cpp
+++ b/engines/tinsel/dialogs.cpp
@@ -2213,7 +2213,7 @@ static int WhichMenuBox(int curX, int curY, bool bSlides) {
// Slider on extra window
if (cd.bExtraWin) {
- const Common::Rect &r = TinselV2 ?
+ const Common::Rect r = TinselV2 ?
Common::Rect(411, 46, 425, 339) :
Common::Rect(20 + 181, 24 + 2, 20 + 181 + 8, 24 + 139 + 5);
@@ -5394,7 +5394,7 @@ extern void EventToInventory(PLR_EVENT pEvent, const Common::Point &coOrds) {
// Only act if load or save screen
MenuPageDown();
} else {
- // This code is a copy of SLClick on IB_SLIDE_DOWN
+ // This code is a copy of the IB_SLIDE_DOWN case in InvWalkTo
// TODO: So share this duplicate code
if (InvD[ino].NoofVicons == 1)
if (InvD[ino].FirstDisp + InvD[ino].NoofHicons*InvD[ino].NoofVicons < InvD[ino].NoofItems)
@@ -5412,7 +5412,7 @@ extern void EventToInventory(PLR_EVENT pEvent, const Common::Point &coOrds) {
// Only act if load or save screen
MenuPageUp();
} else {
- // This code is a copy of SLClick on I_SLIDE_UP
+ // This code is a copy of the I_SLIDE_UP case in InvWalkTo
// TODO: So share this duplicate code
if (InvD[ino].NoofVicons == 1)
InvD[ino].FirstDisp -= InvD[ino].NoofHicons;