From: Ryan Norton Date: Thu, 18 Dec 2003 10:17:53 +0000 (+0000) Subject: Oh Henry :). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4ce84ac957eeefa6378c74b24ba10e0c2665be88?ds=sidebyside Oh Henry :). He didn't implement dumpchr correctly for unicode... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/regex/regc_color.c b/src/regex/regc_color.c index 5376af2ed5..6d2137d19e 100644 --- a/src/regex/regc_color.c +++ b/src/regex/regc_color.c @@ -769,12 +769,16 @@ static void dumpchr(chr c, FILE *f) { +#ifdef wxUSE_UNICODE + fprintf(f, "Debugging not implemented in unicode mode"); +#else if (c == '\\') fprintf(f, "\\\\"); else if (c > ' ' && c <= '~') putc((char) c, f); else fprintf(f, "\\u%04lx", (long) c); +#endif } #endif /* REG_DEBUG */