diff options
author | Max Horn | 2003-05-21 16:28:02 +0000 |
---|---|---|
committer | Max Horn | 2003-05-21 16:28:02 +0000 |
commit | 8a82e59065433e679958feb864208db0bba0f354 (patch) | |
tree | ffa430f18a2a93b1eca150d6f3106e94739f2be6 /scumm/verbs.cpp | |
parent | 4fb4626ac99eed69c86afd94371c5784f2ede61a (diff) | |
download | scummvm-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.cpp | 4 |
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); } } |