This commit is contained in:
Shougo 2024-09-10 02:16:07 -04:00 committed by GitHub
commit e718f62a54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1615,6 +1615,8 @@ int do_write(exarg_T *eap)
return FAIL;
}
ui_busy_start();
char *ffname = eap->arg;
if (*ffname == NUL) {
if (eap->cmdidx == CMD_saveas) {
@ -1761,6 +1763,7 @@ int do_write(exarg_T *eap)
}
theend:
ui_busy_stop();
xfree(free_fname);
return retval;
}