mc/mc-4.6.1-esc-seq.patch

12 lines
267 B
Diff
Raw Normal View History

--- src/util.c
+++ src/util.c
@@ -1145,6 +1145,8 @@
/* strchr() matches trailing binary 0 */
while (*(++r) && strchr ("0123456789;?", *r));
}
+ else if (*(r) == '(')
+ r++;
/*
* Now we are at the last character of the sequence.