diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-11-28 17:34:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-11-28 17:34:48 +0100 |
commit | d4ad0d4e219c7e5866155b9f5215d7e9b0b19b18 (patch) | |
tree | 8f7624a5ccaa7eb3477b67b620ce3ba021a1fd17 | |
parent | b347963869f92fd73f219ef64e5329d62607296c (diff) | |
download | vim-git-d4ad0d4e219c7e5866155b9f5215d7e9b0b19b18.tar.gz |
updated for version 7.3.737v7.3.737
Problem: When using do_cmdline() recursively did_endif is not reset,
causing messages to be overwritten.
Solution: Reset did_endif. (Christian Brabandt)
-rw-r--r-- | src/ex_docmd.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 311f4f0e9..97b836e00 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -1536,6 +1536,8 @@ do_cmdline(cmdline, fgetline, cookie, flags) if_level = 0; #endif + did_endif = FALSE; /* in case do_cmdline used recursively */ + --call_depth; return retval; } diff --git a/src/version.c b/src/version.c index 058ffbc0e..b8c29dc51 100644 --- a/src/version.c +++ b/src/version.c @@ -726,6 +726,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 737, +/**/ 736, /**/ 735, |