aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-18 21:14:50 +0000
committerMax Horn2003-05-18 21:14:50 +0000
commit5ac005860c3444ee881a2a448aa7481bdc37851b (patch)
tree697690970fd7c171b305060622eadf425a83b712 /scumm/script_v5.cpp
parent7171c5bcd4063be192c94be93555b15f9eb59622 (diff)
downloadscummvm-rg350-5ac005860c3444ee881a2a448aa7481bdc37851b.tar.gz
scummvm-rg350-5ac005860c3444ee881a2a448aa7481bdc37851b.tar.bz2
scummvm-rg350-5ac005860c3444ee881a2a448aa7481bdc37851b.zip
warning() automatically outputs a newline after the warning message; adding a newline into the format string adds another newline (which contains the single char '!')
svn-id: r7647
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r--scumm/script_v5.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index a3a3277eb3..b62661f7cc 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -836,7 +836,7 @@ void Scumm_v5::o5_getStringWidth() {
width = _charset->getStringWidth(0, ptr);
setResult(width);
- warning("o5_getStringWidth, result %d\n", width);
+ warning("o5_getStringWidth, result %d", width);
}
void Scumm_v5::o5_saveLoadVars() {
@@ -2464,7 +2464,7 @@ void Scumm_v5::decodeParseString() {
{
int a = getVarOrDirectWord(0x80);
int b = getVarOrDirectWord(0x40);
- warning("Scumm_v5::decodeParseString: Unhandled case 3: %d, %d\n", a, b);
+ warning("Scumm_v5::decodeParseString: Unhandled case 3: %d, %d", a, b);
}
break;
case 4: /* center */