From d4a4a4da6c76896559b885b86adf04e9ab6f410f Mon Sep 17 00:00:00 2001 From: Bowon Ryu Date: Thu, 2 Jun 2016 11:59:54 +0900 Subject: [PATCH] syntax_color: fix wrong indentation Summary: fix static analyzer warning Reviewers: Hermet, Jaehyun_Cho Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D4002 --- src/lib/syntax_color.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/syntax_color.c b/src/lib/syntax_color.c index 97d2ffd..2607869 100644 --- a/src/lib/syntax_color.c +++ b/src/lib/syntax_color.c @@ -416,8 +416,8 @@ string_apply(Eina_Strbuf *strbuf, char **cur, char **prev, snprintf(buf, sizeof(buf), "%s", col, QUOT); else snprintf(buf, sizeof(buf), "%s", QUOT); - eina_strbuf_append(strbuf, buf); - *cur += QUOT_LEN; + eina_strbuf_append(strbuf, buf); + *cur += QUOT_LEN; } *prev = *cur;