summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-07 06:45:33 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-07 06:45:33 -0800
commit792f53d1a82cf19a8e1a343c0ddf3b60141a055d (patch)
tree4cc4902a3eee7830215ef5aa5b2e70f0610ea8e3
parentd15e0b892dd68880b25170631c97567dc6056795 (diff)
downloadreadline-792f53d1a82cf19a8e1a343c0ddf3b60141a055d.tar.gz
readline-792f53d1a82cf19a8e1a343c0ddf3b60141a055d.tar.bz2
readline-792f53d1a82cf19a8e1a343c0ddf3b60141a055d.zip
applied patch readline52-009
-rw-r--r--display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/display.c b/display.c
index ab87339..c9eb418 100644
--- a/display.c
+++ b/display.c
@@ -391,14 +391,14 @@ rl_expand_prompt (prompt)
t = ++p;
local_prompt = expand_prompt (p, &prompt_visible_length,
&prompt_last_invisible,
- (int *)NULL,
+ &prompt_invis_chars_first_line,
&prompt_physical_chars);
c = *t; *t = '\0';
/* The portion of the prompt string up to and including the
final newline is now null-terminated. */
local_prompt_prefix = expand_prompt (prompt, &prompt_prefix_length,
(int *)NULL,
- &prompt_invis_chars_first_line,
+ (int *)NULL,
(int *)NULL);
*t = c;
local_prompt_len = local_prompt ? strlen (local_prompt) : 0;