diff options
Diffstat (limited to '')
-rw-r--r-- | src/ex_cmds2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index ce30b8d..0681153 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -197,7 +197,7 @@ dialog_changed( // restore to empty when write failed if (empty_bufname) { - VIM_CLEAR(buf->b_fname); + buf->b_fname = NULL; VIM_CLEAR(buf->b_ffname); VIM_CLEAR(buf->b_sfname); unchanged(buf, TRUE, FALSE); |