about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Src/Zle/compcore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c
index 457493150..425dcf464 100644
--- a/Src/Zle/compcore.c
+++ b/Src/Zle/compcore.c
@@ -1680,6 +1680,7 @@ addmatches(Cadata dat, char **argv)
 			p[1] = sav;
 
 			lpre = p + 1;
+			llpl -= gfl;
 		    }
 		}
 		s = dat->ppre ? dat->ppre : "";