diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-11-07 06:45:33 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-11-07 06:45:33 -0800 |
commit | 792f53d1a82cf19a8e1a343c0ddf3b60141a055d (patch) | |
tree | 4cc4902a3eee7830215ef5aa5b2e70f0610ea8e3 | |
parent | d15e0b892dd68880b25170631c97567dc6056795 (diff) | |
download | readline-792f53d1a82cf19a8e1a343c0ddf3b60141a055d.tar.gz readline-792f53d1a82cf19a8e1a343c0ddf3b60141a055d.tar.bz2 readline-792f53d1a82cf19a8e1a343c0ddf3b60141a055d.zip |
applied patch readline52-009
-rw-r--r-- | display.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |