aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2005-05-26 14:16:43 +0000
committerMax Horn2005-05-26 14:16:43 +0000
commitdb969fd9762bb11878b579eafc53790359ce95da (patch)
tree364c919067a74efd88758a8b3b036ae071a300a4
parent852fe1b1c7d601df534ac059713375817f7b86a3 (diff)
downloadscummvm-rg350-db969fd9762bb11878b579eafc53790359ce95da.tar.gz
scummvm-rg350-db969fd9762bb11878b579eafc53790359ce95da.tar.bz2
scummvm-rg350-db969fd9762bb11878b579eafc53790359ce95da.zip
oops
svn-id: r18263
-rw-r--r--scumm/string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 3f69e64e7e..e7273c8306 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -643,7 +643,7 @@ int ScummEngine::convertMessageToString(const byte *msg, byte *dst, int dstSize)
dst += convertVerbMessage(dst, end - dst, val);
break;
case 6:
- dst += addNameToStack(dst, end - dst, val);
+ dst += convertNameMessage(dst, end - dst, val);
break;
case 7:
dst += convertStringMessage(dst, end - dst, val);
@@ -706,7 +706,7 @@ int ScummEngine::convertVerbMessage(byte *dst, int dstSize, int var) {
return 0;
}
-int ScummEngine::addNameToStack(byte *dst, int dstSize, int var) {
+int ScummEngine::convertNameMessage(byte *dst, int dstSize, int var) {
int num;
num = readVar(var);