about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Src/utils.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d33f9cc29..2e7fdcd41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-06  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	*  Mikael: 28480: Doc/Zsh/params.yo, Src/utils.c: allow
+	PROMPT_EOL_MARK to be an empty string.
+
 2010-12-06  Peter Stephenson  <pws@csr.com>
 
 	* users/15622: Completion/Base/Utility/_pick_variant: use
@@ -13920,5 +13925,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5144 $
+* $Revision: 1.5145 $
 *****************************************************
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);