about summary refs log tree commit diff
path: root/Src/Zle/zle_hist.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-04-20 21:19:52 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-04-20 21:19:52 +0000
commit3cf29e75139ec3753868ef8d064d2d5729371b6f (patch)
tree0ca1455c2d6917021277a2a5bc5b68919333a69e /Src/Zle/zle_hist.c
parentb8ec06c870ac09d5949907640dca4c1a2b711ed5 (diff)
downloadzsh-3cf29e75139ec3753868ef8d064d2d5729371b6f.tar.gz
zsh-3cf29e75139ec3753868ef8d064d2d5729371b6f.tar.xz
zsh-3cf29e75139ec3753868ef8d064d2d5729371b6f.zip
24853: bits missed from patch
Diffstat (limited to 'Src/Zle/zle_hist.c')
-rw-r--r--Src/Zle/zle_hist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c
index 9d65b3516..5af482f9e 100644
--- a/Src/Zle/zle_hist.c
+++ b/Src/Zle/zle_hist.c
@@ -454,7 +454,7 @@ downhistory(UNUSED(char **args))
  * srch_str is the metafied search string, as extracted from the start
  *   of zleline.
  */
-static int srch_hl, srch_cs = -1;
+static int histpos, srch_hl, srch_cs = -1;
 static char *srch_str;
 
 /**/
@@ -462,7 +462,7 @@ int
 historysearchbackward(char **args)
 {
     Histent he;
-    int n = zmult, histpos;
+    int n = zmult;
     char *str;
     struct zle_text zt;
 
@@ -520,7 +520,7 @@ int
 historysearchforward(char **args)
 {
     Histent he;
-    int n = zmult, histpos;
+    int n = zmult;
     char *str;
     struct zle_text zt;