From: José Fonseca Date: Wed, 22 Jul 2009 17:16:24 +0000 (+0100) Subject: Break on newlines instead of showing \n. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=a7919db1339464a9a22250aac711c59e88ac7cb9;p=apitrace Break on newlines instead of showing \n. --- diff --git a/apitrace.xsl b/apitrace.xsl index 511e7df..698da08 100644 --- a/apitrace.xsl +++ b/apitrace.xsl @@ -184,7 +184,9 @@ along with this program. If not, see . - + + + @@ -202,4 +204,20 @@ along with this program. If not, see . + + + + + + +
+ + + +
+ + + +
+
diff --git a/log.cpp b/log.cpp index ac1787b..97f2271 100644 --- a/log.cpp +++ b/log.cpp @@ -301,7 +301,7 @@ void DumpString(const char *str) { else if(c == '\r') Text("\\r"); else if(c == '\n') - Text("\\n"); + Text(" "); else { unsigned char octal0 = c & 0x7; unsigned char octal1 = (c >> 3) & 0x7; @@ -333,7 +333,7 @@ void DumpWString(const wchar_t *str) { else if(c == '\r') Text("\\r"); else if(c == '\n') - Text("\\n"); + Text(" "); else { unsigned octal0 = c & 0x7; unsigned octal1 = (c >> 3) & 0x7;