diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c index 8e557fd4c..12ffc64e1 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -1285,7 +1285,7 @@ preprompt(void) char *eolmark = getsparam("PROMPT_EOL_MARK"); char *str; int percents = opts[PROMPTPERCENT], w = 0; - if (!eolmark || !*eolmark) + if (!eolmark) eolmark = "%B%S%#%s%b"; opts[PROMPTPERCENT] = 1; str = promptexpand(eolmark, 1, NULL, NULL, NULL); |