Commit 08c76f4c authored by George Matsumura's avatar George Matsumura Committed by Uli Schlachter
Browse files

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's avatarGeorge Matsumura <gmmatsumura01@bvsd.org>
parent c1d489b4
......@@ -1824,6 +1824,7 @@ _encode_string_literal (char *out, int max,
*out++ = '\\';
*out++ = 'r';
max -= 2;
break;
case '\t':
*out++ = '\\';
*out++ = 't';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment