aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v7he.cpp
diff options
context:
space:
mode:
authorMax Horn2005-05-26 14:14:32 +0000
committerMax Horn2005-05-26 14:14:32 +0000
commit852fe1b1c7d601df534ac059713375817f7b86a3 (patch)
tree86bd93de892667884e5c83399e592eb73e2e56f2 /scumm/script_v7he.cpp
parent4b82800cc51b2bc3285bfc1eab3c4e16618105c6 (diff)
downloadscummvm-rg350-852fe1b1c7d601df534ac059713375817f7b86a3.tar.gz
scummvm-rg350-852fe1b1c7d601df534ac059713375817f7b86a3.tar.bz2
scummvm-rg350-852fe1b1c7d601df534ac059713375817f7b86a3.zip
Changed name of addMessageToStack to convertMessageToString (still not really happy with that name but at least it is a little bit more descriptive than the old)
svn-id: r18262
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r--scumm/script_v7he.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp
index 165dfef855..ca883aa06e 100644
--- a/scumm/script_v7he.cpp
+++ b/scumm/script_v7he.cpp
@@ -906,7 +906,7 @@ void ScummEngine_v70he::o70_readINI() {
const char *entry;
int len, type;
- addMessageToStack(_scriptPointer, option, sizeof(option));
+ convertMessageToString(_scriptPointer, option, sizeof(option));
len = resStrLen(_scriptPointer);
_scriptPointer += len + 1;
@@ -941,7 +941,7 @@ void ScummEngine_v70he::o70_writeINI() {
type = pop();
value = pop();
- addMessageToStack(_scriptPointer, option, sizeof(option));
+ convertMessageToString(_scriptPointer, option, sizeof(option));
len = resStrLen(_scriptPointer);
_scriptPointer += len + 1;
@@ -950,7 +950,7 @@ void ScummEngine_v70he::o70_writeINI() {
ConfMan.set((char *)option, value);
break;
case 2: // string
- addMessageToStack(_scriptPointer, string, sizeof(string));
+ convertMessageToString(_scriptPointer, string, sizeof(string));
len = resStrLen(_scriptPointer);
_scriptPointer += len + 1;
ConfMan.set((char *)option, (char *)string);
@@ -1030,7 +1030,7 @@ void ScummEngine_v70he::o70_setFilePath() {
int len;
byte filename[100];
- addMessageToStack(_scriptPointer, filename, sizeof(filename));
+ convertMessageToString(_scriptPointer, filename, sizeof(filename));
len = resStrLen(_scriptPointer);
_scriptPointer += len + 1;