summary refs log tree commit diff
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
parent3f89eb7c0935bbd49bf822142171c5c0beb5a8ba (diff)
downloadzsh-68f073faa2abf8729954ac654c5b2b2189bd381c.tar.gz
zsh-68f073faa2abf8729954ac654c5b2b2189bd381c.tar.xz
zsh-68f073faa2abf8729954ac654c5b2b2189bd381c.zip
Changed several instances of ZWC() used on a string to ZWS().
-rw-r--r--Src/Zle/zle_hist.c4
-rw-r--r--Src/Zle/zle_refresh.c6
2 files changed, 5 insertions, 5 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);
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c
index 92e76cb3c..fe277a5b4 100644
--- a/Src/Zle/zle_refresh.c
+++ b/Src/Zle/zle_refresh.c
@@ -594,7 +594,7 @@ zrefresh(void)
 		break;
 	    }
 	}
-	ZS_strncpy(sen, ZWC(" <.... "), 7);
+	ZS_strncpy(sen, ZWS(" <.... "), 7);
 	nbuf[tosln - 1][winw] = nbuf[tosln - 1][winw + 1] = ZWC('\0');
     }
 
@@ -609,7 +609,7 @@ zrefresh(void)
 		break;
 	    }
 	}
-	ZS_strncpy(sen, ZWC(" <....> "), 8);
+	ZS_strncpy(sen, ZWS(" <....> "), 8);
 	nbuf[tosln][winw] = nbuf[tosln][winw + 1] = ZWC('\0');
     }
 
@@ -631,7 +631,7 @@ zrefresh(void)
 	memset(nbuf[0], ZWC(' '), lpromptw);
 	t0 = winw - lpromptw;
 	t0 = t0 > 5 ? 5 : t0;
-	ZS_strncpy(nbuf[0] + lpromptw, ZWC(">...."), t0);
+	ZS_strncpy(nbuf[0] + lpromptw, ZWS(">...."), t0);
 	ZS_memset(nbuf[0] + lpromptw + t0, ZWC(' '), winw - t0 - lpromptw);
 	nbuf[0][winw] = nbuf[0][winw + 1] = ZWC('\0');
     }