diff options
author | George Matsumura <gmmatsumura01@bvsd.org> | 2020-08-31 22:15:21 -0600 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2020-11-20 16:07:53 +0000 |
commit | 08c76f4cbf9503328e735fbeed5ca96004f580cc (patch) | |
tree | 87ca53141ee569f2bd303838ff6555fefab2d6eb /util | |
parent | c1d489b47404dcd48192b0adb0af87cda5618c2b (diff) | |
download | cairo-08c76f4cbf9503328e735fbeed5ca96004f580cc.tar.gz |
cairo-trace: Fix escape character encoding in string literals
This fixes a typo wherein both a return character and a tab character
were encoded when only a return character was specified for encoding.
Signed-off-by: George Matsumura <gmmatsumura01@bvsd.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/cairo-trace/trace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c index 84952a365..26ed2e506 100644 --- a/util/cairo-trace/trace.c +++ b/util/cairo-trace/trace.c @@ -1824,6 +1824,7 @@ _encode_string_literal (char *out, int max, *out++ = '\\'; *out++ = 'r'; max -= 2; + break; case '\t': *out++ = '\\'; *out++ = 't'; |