aboutsummaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'match.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index 8ba3b50..3fcc505 100644
--- a/match.c
+++ b/match.c
@@ -47,7 +47,7 @@ static int is_in_range(wchar_t ch, const wchar_t **p, int *reverse) {
/* Malformed pattern, range not closed */
return 0;
if(*(++(*p)) == '-') {
- last = *(++(*p));
+ last = *(++(*p));
if(last==']') {
/* Last "-" in range designates itself */
if(ch == first || ch == '-')