mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.0684: skipped :exe command fails compilation on MS-Windows
Problem: Skipped :exe command fails compilation on MS-Windows. Solution: Adjust return value when skipping.
This commit is contained in:
@@ -3339,7 +3339,9 @@ compile_def_function(
|
||||
case CMD_echowindow:
|
||||
{
|
||||
long cmd_count = get_cmd_count(line, &ea);
|
||||
if (cmd_count >= 0)
|
||||
if (cmd_count < 0)
|
||||
line = NULL;
|
||||
else
|
||||
line = compile_mult_expr(p, ea.cmdidx,
|
||||
cmd_count, &cctx);
|
||||
}
|
||||
|
Reference in New Issue
Block a user