about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-12-06 19:34:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-12-06 19:34:32 +0000
commitc66f52bad9d5aac4a5b6dce95623a2576f9fc045 (patch)
tree34a7a830b12ba2c4fb918e857db23d7fa8a88944 /Src
parent8d00aca697066a70c38aa04eba19726cd8b2f3a7 (diff)
downloadzsh-c66f52bad9d5aac4a5b6dce95623a2576f9fc045.tar.gz
zsh-c66f52bad9d5aac4a5b6dce95623a2576f9fc045.tar.xz
zsh-c66f52bad9d5aac4a5b6dce95623a2576f9fc045.zip
Mikael: 28480: allow PROMPT_EOL_MARK to be an empty string
Diffstat (limited to 'Src')
-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);