summaryrefslogtreecommitdiff
path: root/util/cairo-trace/trace.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-12-20 15:35:40 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-01-02 09:53:24 +0000
commitca39c4bf7f90646b70b2bbe9e7318fcfae99e35e (patch)
treeec2beb6e58f4f0841fdaae49d1aef4d9541d3f60 /util/cairo-trace/trace.c
parent1f2fec7388092c8fea87651f9094ca2e0be2104b (diff)
[trace] Correct a couple of typos.
A couple of minor typos in the escaped characters strings.
Diffstat (limited to 'util/cairo-trace/trace.c')
-rw-r--r--util/cairo-trace/trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c
index 9613045b..b9d1a77c 100644
--- a/util/cairo-trace/trace.c
+++ b/util/cairo-trace/trace.c
@@ -1326,7 +1326,7 @@ _encode_string_literal (char *out, int max,
break;
case '\r':
*out++ = '\\';
- *out++ = 'n';
+ *out++ = 'r';
max -= 2;
case '\t':
*out++ = '\\';
@@ -1340,7 +1340,7 @@ _encode_string_literal (char *out, int max,
break;
case '\f':
*out++ = '\\';
- *out++ = 'r';
+ *out++ = 'f';
max -= 2;
break;
case '\\':