summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-01-22 12:03:55 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-01-22 12:03:55 +0000
commitbdaa4f4c051f76ea487419e3b3969072c60ae40c (patch)
tree251a3592023d7d0207fa7b3390a8eb6c68360385 /Src/Zle
parentd36dbe2337708c367d53feb79075c0ab7b3dc921 (diff)
downloadzsh-bdaa4f4c051f76ea487419e3b3969072c60ae40c.tar.gz
zsh-bdaa4f4c051f76ea487419e3b3969072c60ae40c.tar.xz
zsh-bdaa4f4c051f76ea487419e3b3969072c60ae40c.zip
*** empty log message ***
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/compresult.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c
index 787e7e795..b2c240188 100644
--- a/Src/Zle/compresult.c
+++ b/Src/Zle/compresult.c
@@ -165,7 +165,7 @@ static char *
 cline_str(Cline l, int ins, int *csp, LinkList posl)
 {
     Cline s;
-    int ocs = cs, ncs, pcs, scs, opos, npos;
+    int ocs = cs, ncs, pcs, scs, opos = -1, npos;
     int pm, pmax, pmm, pma, sm, smax, smm, sma, d, dm, mid;
     int i, j, li = 0, cbr, padd = (ins ? wb - ocs : -ocs);
     Brinfo brp, brs;