[cairo-commit] 2 commits - util/cairo-trace

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 20 16:38:32 UTC 2020


 util/cairo-trace/trace.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 577477207a300fd75c93da93dbb233256d8b48d8
Merge: c1d489b47 08c76f4cb
Author: Uli Schlachter <psychon at znc.in>
Date:   Fri Nov 20 16:38:31 2020 +0000

    Merge branch 'trace_parse_fix' into 'master'
    
    cairo-trace: Fix escape character encoding in string literals
    
    See merge request cairo/cairo!72

commit 08c76f4cbf9503328e735fbeed5ca96004f580cc
Author: George Matsumura <gmmatsumura01 at bvsd.org>
Date:   Mon Aug 31 22:15:21 2020 -0600

    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 at bvsd.org>

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';


More information about the cairo-commit mailing list