Ticket #3241: mc-3241-ansi-escape-sequence-colon.patch
File mc-3241-ansi-escape-sequence-colon.patch, 496 bytes (added by egmont, 10 years ago) |
---|
-
lib/util.c
diff --git a/lib/util.c b/lib/util.c index 504c8ea..9789481 100644
a b strip_ctrl_codes (char *s) 747 747 if (*(++r) == '[' || *r == '(') 748 748 { 749 749 /* strchr() matches trailing binary 0 */ 750 while (*(++r) != '\0' && strchr ("0123456789; ?", *r) != NULL)750 while (*(++r) != '\0' && strchr ("0123456789;:?", *r) != NULL) 751 751 ; 752 752 } 753 753 else if (*r == ']')