about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/zle_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c
index aa8d1058d..314e1333d 100644
--- a/Src/Zle/zle_misc.c
+++ b/Src/Zle/zle_misc.c
@@ -1270,14 +1270,14 @@ iremovesuffix(ZLE_INT_T c, int keep)
 	    for (ss = suffixlist; ss; ss = ss->next) {
 		switch (ss->tp) {
 		case SUFTYP_POSSTR:
-		    if (memchr(ss->chars, ch, ss->lenstr)) {
+		    if (ZS_memchr(ss->chars, ch, ss->lenstr)) {
 			sl = ss->lensuf;
 			found = 1;
 		    }
 		    break;
 
 		case SUFTYP_NEGSTR:
-		    if (memchr(ss->chars, ch, ss->lenstr)) {
+		    if (ZS_memchr(ss->chars, ch, ss->lenstr)) {
 			sl = 0;
 			found = 1;
 		    } else {