summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-03-02 01:12:48 +0000
committerBram Moolenaar <Bram@vim.org>2009-03-02 01:12:48 +0000
commite8bd5cea37fa75cecd6288be394c2165316bf660 (patch)
treef984f87a70d6a8a690b972edfb20cb3161ed410d
parentc0b3565d55a40eb0947becf43cebb9b107bee348 (diff)
downloadvim-git-e8bd5cea37fa75cecd6288be394c2165316bf660.tar.gz
updated for version 7.2-129v7.2.129
-rw-r--r--src/ex_getln.c6
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index e324e7eab..ecaeb3f52 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -6047,9 +6047,7 @@ ex_window()
# endif
return K_IGNORE;
}
- cmdwin_type = ccline.cmdfirstc;
- if (cmdwin_type == NUL)
- cmdwin_type = '-';
+ cmdwin_type = get_cmdline_type();
/* Create the command-line buffer empty. */
(void)do_ecmd(0, NULL, NULL, NULL, ECMD_ONE, ECMD_HIDE, NULL);
@@ -6073,7 +6071,7 @@ ex_window()
/* Showing the prompt may have set need_wait_return, reset it. */
need_wait_return = FALSE;
- histtype = hist_char2type(ccline.cmdfirstc);
+ histtype = hist_char2type(cmdwin_type);
if (histtype == HIST_CMD || histtype == HIST_DEBUG)
{
if (p_wc == TAB)
diff --git a/src/version.c b/src/version.c
index 4331654b6..8557480eb 100644
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 129,
+/**/
128,
/**/
127,