From 81543b262f0a6e916e02f7ed7cd061942d360cb7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 28 Jan 2010 14:35:57 +0000 Subject: [PATCH] Pass-through TAB and CR characters. --- log.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 { -- 2.45.2