summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_thingy.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/zle_thingy.c')
-rw-r--r--Src/Zle/zle_thingy.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Src/Zle/zle_thingy.c b/Src/Zle/zle_thingy.c
index 5e0c30633..c947bdd9d 100644
--- a/Src/Zle/zle_thingy.c
+++ b/Src/Zle/zle_thingy.c
@@ -415,10 +415,8 @@ bin_zle_refresh(UNUSED(char *name), char **args, Options ops, UNUSED(char func))
statusline = NULL;
statusll = 0;
if (*args) {
- if (**args) {
- statusline = stringaszleline((unsigned char *)*args, 0, &statusll,
- NULL, NULL);
- }
+ if (**args)
+ statusline = stringaszleline(*args, 0, &statusll, NULL, NULL);
if (*++args) {
LinkList l = newlinklist();
int zmultsav = zmult;