forked from enlightenment/enventor
syntax_color: Fix to parse and append double quotation marks(") correctly.
Fix the way of parsing and appending """ correctly.
This commit is contained in:
parent
af1dc2f23d
commit
d5898e5434
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue