jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=d5898e5434a13d6a11a0d50f6b219a6cd9719c45

commit d5898e5434a13d6a11a0d50f6b219a6cd9719c45
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Tue Jan 20 13:48:25 2015 +0900

    syntax_color: Fix to parse and append double quotation marks(") correctly.
    
    Fix the way of parsing and appending "&quot;" correctly.
---
 src/lib/syntax_color.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/syntax_color.c b/src/lib/syntax_color.c
index 6040f97..1fe0dfb 100644
--- a/src/lib/syntax_color.c
+++ b/src/lib/syntax_color.c
@@ -390,7 +390,7 @@ string_apply(Eina_Strbuf *strbuf, char **cur, char **prev,
 
    char buf[128];
 
-   eina_strbuf_append_length(strbuf, *prev, (*cur - *prev) + 1);
+   eina_strbuf_append_length(strbuf, *prev, (*cur - *prev));
 
    if (!inside_string)
      snprintf(buf, sizeof(buf), "<color=#%s>%s", col, QUOT);

-- 


Reply via email to