aboutsummaryrefslogtreecommitdiff
path: root/scumm/verbs.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-21 16:28:02 +0000
committerMax Horn2003-05-21 16:28:02 +0000
commit8a82e59065433e679958feb864208db0bba0f354 (patch)
treeffa430f18a2a93b1eca150d6f3106e94739f2be6 /scumm/verbs.cpp
parent4fb4626ac99eed69c86afd94371c5784f2ede61a (diff)
downloadscummvm-rg350-8a82e59065433e679958feb864208db0bba0f354.tar.gz
scummvm-rg350-8a82e59065433e679958feb864208db0bba0f354.tar.bz2
scummvm-rg350-8a82e59065433e679958feb864208db0bba0f354.zip
constness fixes
svn-id: r7787
Diffstat (limited to 'scumm/verbs.cpp')
-rw-r--r--scumm/verbs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp
index 500e5ac044..31f3637f96 100644
--- a/scumm/verbs.cpp
+++ b/scumm/verbs.cpp
@@ -79,14 +79,14 @@ void Scumm::redrawV2Inventory() {
if (curInventoryCount > 0) { // Draw Up Arrow
_string[1].xpos = 145;
_string[1].ypos = virtscr[2].topline + 32;
- _messagePtr = (byte*)strdup("U");
+ _messagePtr = (const byte *)"U";
drawString(1);
}
if (items == 4) { // Draw Down Arrow
_string[1].xpos = 145;
_string[1].ypos = virtscr[2].topline + 47;
- _messagePtr = (byte*)strdup("D");
+ _messagePtr = (const byte *)"D";
drawString(1);
}
}