summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-12-26 17:36:18 +0000
committerDarkvater <darkvater@openttd.org>2006-12-26 17:36:18 +0000
commit073e0eb3c9148d6dd8b2c9ce788843b8180351cb (patch)
tree8dae47833ded5c522ac7a89f69f10fc0c2530e90 /string.c
parent2e0bbe540383c96f4356dd75e70bb1fa5c8e95be (diff)
downloadopenttd-073e0eb3c9148d6dd8b2c9ce788843b8180351cb.tar.xz
(svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
use in debug.h. grfmsg() is now used as a specific debug-function for grf.
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.c b/string.c
index bac6ac8db..dba2c7131 100644
--- a/string.c
+++ b/string.c
@@ -208,7 +208,7 @@ size_t Utf8Decode(WChar *c, const char *s)
}
}
- //DEBUG(misc, 1) ("Invalid UTF-8 sequence");
+ //DEBUG(misc, 1, "[utf8] invalid UTF-8 sequence");
*c = '?';
return 1;
}
@@ -241,7 +241,7 @@ size_t Utf8Encode(char *buf, WChar c)
return 4;
}
- //DEBUG(misc, 1) ("Can't UTF-8 encode value 0x%X", c);
+ //DEBUG(misc, 1, "[utf8] can't UTF-8 encode value 0x%X", c);
*buf = '?';
return 1;
}