From a7919db1339464a9a22250aac711c59e88ac7cb9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 22 Jul 2009 18:16:24 +0100 Subject: [PATCH] Break on newlines instead of showing \n. --- apitrace.xsl | 20 +++++++++++++++++++- log.cpp | 4 ++-- 2 files changed, 21 insertions(+), 3 deletions(-) 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; -- 2.45.2