This commit is contained in:
Álvaro Felipe Melchor 2015-06-15 22:50:12 +02:00 committed by pancake
parent d04c94ba72
commit e40fe434bb

View File

@ -920,6 +920,7 @@ static char *r_str_escape_ (const char *buf, const int dot_nl) {
p++;
/* Parse the ANSI code (only the graphic mode
* set ones are supported) */
if (*p == '\0') break;
if (*p == '[')
for (p++; *p != 'm'; p++)
;