about summary refs log tree commit diff
path: root/Src/Zle/zle_hist.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-08-11 18:40:53 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-08-11 18:40:53 +0000
commit68f073faa2abf8729954ac654c5b2b2189bd381c (patch)
tree1966ede853fceb403a3a091f504c1b40f67d7ff4 /Src/Zle/zle_hist.c
parent3f89eb7c0935bbd49bf822142171c5c0beb5a8ba (diff)
downloadzsh-68f073faa2abf8729954ac654c5b2b2189bd381c.tar.gz
zsh-68f073faa2abf8729954ac654c5b2b2189bd381c.tar.xz
zsh-68f073faa2abf8729954ac654c5b2b2189bd381c.zip
Changed several instances of ZWC() used on a string to ZWS().
Diffstat (limited to 'Src/Zle/zle_hist.c')
-rw-r--r--Src/Zle/zle_hist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c
index c00eafe18..7bb5f43a6 100644
--- a/Src/Zle/zle_hist.c
+++ b/Src/Zle/zle_hist.c
@@ -864,7 +864,7 @@ get_isrch_spot(int num, int *hlp, int *posp, int *csp, int *lenp, int *dirp, int
     *nomatch = (isrch_spots[num].flags & ISS_FAILING);
 }
 
-#define ISEARCH_PROMPT		ZWC("failing XXX-i-search: ")
+#define ISEARCH_PROMPT		ZWS("failing XXX-i-search: ")
 #define NORM_PROMPT_POS		8
 #define FIRST_SEARCH_CHAR	(NORM_PROMPT_POS + 14)
 
@@ -898,7 +898,7 @@ doisearch(char **args, int dir)
     }
 
     ZS_strcpy(ibuf, ISEARCH_PROMPT);
-    ZS_memcpy(ibuf + NORM_PROMPT_POS, (dir == 1) ? ZWC("fwd") : ZWC("bck"), 3);
+    ZS_memcpy(ibuf + NORM_PROMPT_POS, (dir == 1) ? ZWS("fwd") : ZWS("bck"), 3);
     remember_edits();
     okeymap = ztrdup(curkeymapname);
     zletext(he, &zt);