From 852fe1b1c7d601df534ac059713375817f7b86a3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 26 May 2005 14:14:32 +0000 Subject: 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 --- scumm/script_v7he.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scumm/script_v7he.cpp') 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; -- cgit v1.2.3