summaryrefslogtreecommitdiff
path: root/recipes/mc/mc-4.6.2/mc-esc-seq.patch
blob: b9ec04a75a8c254f7136941672b554f18ce0d6d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mc-4.6.2/src/util.c
+++ mc-4.6.2/src/util.c
@@ -1205,6 +1205,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.