From 04bf39bf2eb70bc3284459407c56196da02f280c Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 28 Jun 2000 13:59:21 +0000 Subject: fix for list-colors handling (12107) --- Src/Zle/complist.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 9159326f3..30bc17f88 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -362,7 +362,10 @@ getcols(Listcols c) memset(c, 0, sizeof(*c)); s = dupstring(s); while (*s) - s = getcoldef(c, s); + if (*s == ':') + s++; + else + s = getcoldef(c, s); /* Use default values for those that aren't set explicitly. */ for (i = 0; i < NUM_COLS; i++) { -- cgit 1.4.1