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
This commit is contained in:
@@ -769,12 +769,16 @@ static void
|
|||||||
dumpchr(chr c,
|
dumpchr(chr c,
|
||||||
FILE *f)
|
FILE *f)
|
||||||
{
|
{
|
||||||
|
#ifdef wxUSE_UNICODE
|
||||||
|
fprintf(f, "Debugging not implemented in unicode mode");
|
||||||
|
#else
|
||||||
if (c == '\\')
|
if (c == '\\')
|
||||||
fprintf(f, "\\\\");
|
fprintf(f, "\\\\");
|
||||||
else if (c > ' ' && c <= '~')
|
else if (c > ' ' && c <= '~')
|
||||||
putc((char) c, f);
|
putc((char) c, f);
|
||||||
else
|
else
|
||||||
fprintf(f, "\\u%04lx", (long) c);
|
fprintf(f, "\\u%04lx", (long) c);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* REG_DEBUG */
|
#endif /* REG_DEBUG */
|
||||||
|
Reference in New Issue
Block a user