diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-07-22 12:52:24 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-07-22 12:52:24 -0700 |
commit | a1f8d4ffc73293e0461c01ff005194a474854376 (patch) | |
tree | 6d625d2e0e5321c4fd8d160cbadac2354c243f86 /Src/Zle/complist.c | |
parent | 045bd4e3a6eb1d2a8a7b0a16a1b00f477c0112ed (diff) | |
download | zsh-a1f8d4ffc73293e0461c01ff005194a474854376.tar.gz zsh-a1f8d4ffc73293e0461c01ff005194a474854376.tar.xz zsh-a1f8d4ffc73293e0461c01ff005194a474854376.zip |
35826: add getsparam_u() to return unmetafied string, use it for a number of references to non-special params
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r-- | Src/Zle/complist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index f37a43231..fd90ccb31 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -507,8 +507,8 @@ getcols() max_caplen = lr_caplen = 0; mcolors.flags = 0; queue_signals(); - if (!(s = getsparam("ZLS_COLORS")) && - !(s = getsparam("ZLS_COLOURS"))) { + if (!(s = getsparam_u("ZLS_COLORS")) && + !(s = getsparam_u("ZLS_COLOURS"))) { for (i = 0; i < NUM_COLS; i++) mcolors.files[i] = filecol(""); mcolors.pats = NULL; |