summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c
index 6ea254a4d..0574431d0 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -3980,12 +3980,14 @@ mb_metastrlen(char *ptr)
 #else
 
 /* Simple replacement for mb_metacharlenconv */
+
+/**/
 int
 metacharlenconv(char *x, int *c)
 {
     if (*x == Meta) {
 	if (c)
-	    *c == STOUC(x[1]);
+	    *c = STOUC(x[1]) ^ 32;
 	return 2;
     }
     if (c)