aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.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/gfx.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/gfx.cpp')
-rw-r--r--scumm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 53d2b09175..afe0983ac6 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -2886,7 +2886,7 @@ void Scumm::moveMemInPalRes(int start, int end, byte direction) {
num = end - start;
if (!endptr) {
- warning("moveMemInPalRes(%d,%d): Bad end pointer\n", start, end);
+ warning("moveMemInPalRes(%d,%d): Bad end pointer", start, end);
return;
}
@@ -2916,7 +2916,7 @@ void Scumm::palManipulateInit(int start, int end, int string_id, int time) {
string2 = getStringAddress(string_id + 1);
string3 = getStringAddress(string_id + 2);
if (!string1 || !string2 || !string3) {
- warning("palManipulateInit(%d,%d,%d,%d): Cannot obtain string resources %d, %d and %d\n",
+ warning("palManipulateInit(%d,%d,%d,%d): Cannot obtain string resources %d, %d and %d",
start, end, string_id, time, string_id, string_id + 1, string_id + 2);
return;
}