about summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c2
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);