From: José Fonseca Date: Thu, 28 Jan 2010 14:35:57 +0000 (+0000) Subject: Pass-through TAB and CR characters. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=81543b262f0a6e916e02f7ed7cd061942d360cb7;p=apitrace Pass-through TAB and CR characters. --- diff --git a/log.cpp b/log.cpp index 73bc408..c917fe3 100644 --- a/log.cpp +++ b/log.cpp @@ -339,9 +339,9 @@ void DumpString(const char *str) { else if(c >= 0x20 && c <= 0x7e) TextChar(c); else if(c == '\t') - Text("\\t"); + Text(" "); else if(c == '\r') - Text("\\r"); + Text(" "); else if(c == '\n') Text(" "); else { @@ -375,9 +375,9 @@ void DumpWString(const wchar_t *str) { else if(c >= 0x20 && c <= 0x7e) TextChar((char)c); else if(c == '\t') - Text("\\t"); + Text(" "); else if(c == '\r') - Text("\\r"); + Text(" "); else if(c == '\n') Text(" "); else {