summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 13cde84fd8..be35845356 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -2411,8 +2411,7 @@ getfile(
if (curbufIsChanged())
#endif
{
- if (other)
- --no_wait_return;
+ --no_wait_return;
no_write_message();
retval = GETFILE_NOT_WRITTEN; // file has been changed
goto theend;