projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dc031d
)
Pass-through TAB and CR characters.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 28 Jan 2010 14:35:57 +0000
(14:35 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 12 Nov 2010 18:47:59 +0000
(18:47 +0000)
log.cpp
patch
|
blob
|
history
diff --git
a/log.cpp
b/log.cpp
index
73bc408
..
c917fe3
100644
(file)
--- 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 {