]> git.saurik.com Git - wxWidgets.git/commitdiff
Oh Henry :).
authorRyan Norton <wxprojects@comcast.net>
Thu, 18 Dec 2003 10:17:53 +0000 (10:17 +0000)
committerRyan Norton <wxprojects@comcast.net>
Thu, 18 Dec 2003 10:17:53 +0000 (10:17 +0000)
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

src/regex/regc_color.c

index 5376af2ed5f17d43db13d6700eae77a346a841ac..6d2137d19e1e1b1acefb3fa15d9f42858460c1d6 100644 (file)
@@ -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 */