diff options
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 1e9d18e83..8bab8536b 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -1190,9 +1190,9 @@ dialog_changed( else ret = vim_dialog_yesnocancel(VIM_QUESTION, NULL, buff, 1); - /* Init ea pseudo-structure, this is needed for the check_overwrite() - * function. */ - ea.append = ea.forceit = FALSE; + // Init ea pseudo-structure, this is needed for the check_overwrite() + // function. + vim_memset(&ea, 0, sizeof(ea)); if (ret == VIM_YES) { |