mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 09:58:12 +02:00
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>
This commit is contained in:
parent
590122daa8
commit
825154fef7
1 changed files with 1 additions and 0 deletions
|
|
@ -1824,6 +1824,7 @@ _encode_string_literal (char *out, int max,
|
|||
*out++ = '\\';
|
||||
*out++ = 'r';
|
||||
max -= 2;
|
||||
break;
|
||||
case '\t':
|
||||
*out++ = '\\';
|
||||
*out++ = 't';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue