Skip to content

Commit bc2c929

Browse files
committed
updated for version 7.3.737
Problem: When using do_cmdline() recursively did_endif is not reset, causing messages to be overwritten. Solution: Reset did_endif. (Christian Brabandt)
1 parent 92c7f2a commit bc2c929

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/ex_docmd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1536,6 +1536,8 @@ do_cmdline(cmdline, fgetline, cookie, flags)
15361536
if_level = 0;
15371537
#endif
15381538

1539+
did_endif = FALSE; /* in case do_cmdline used recursively */
1540+
15391541
--call_depth;
15401542
return retval;
15411543
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,8 @@ static char *(features[]) =
725725

726726
static int included_patches[] =
727727
{ /* Add new patch number below this line */
728+
/**/
729+
737,
728730
/**/
729731
736,
730732
/**/

0 commit comments

Comments
 (0)