about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-12-03 10:54:36 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-12-03 10:54:36 +0000
commit7d672455bbc8f2142e9fa53db25974d012293b5e (patch)
tree272d7e610a6ef426cce50b835052d1496f63f9f4 /Src
parentb456768681f56e1d7d2bc1a29e932fd936aff9fd (diff)
downloadzsh-7d672455bbc8f2142e9fa53db25974d012293b5e.tar.gz
zsh-7d672455bbc8f2142e9fa53db25974d012293b5e.tar.xz
zsh-7d672455bbc8f2142e9fa53db25974d012293b5e.zip
19269: 8-bit characters in character classes
Diffstat (limited to 'Src')
-rw-r--r--Src/pattern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/pattern.c b/Src/pattern.c
index 71c6b3410..b62cbcd37 100644
--- a/Src/pattern.c
+++ b/Src/pattern.c
@@ -2265,7 +2265,7 @@ patmatchrange(char *range, int ch)
 		DPUTS(1, "BUG: unknown metacharacter in range.");
 		break;
 	    }
-	} else if (*range == ch)
+	} else if (STOUC(*range) == ch)
 	    return 1;
     }
     return 0;