tweaks: remove a pointless updating of the title bar

A possible change in filename won't be pushed to the screen until a
doupdate() is done, and that won't happen until nano is waiting for
a keystroke again.  So... just let it be.
This commit is contained in:
Benno Schulenberg
2019-10-16 12:11:22 +02:00
parent 7c5b104859
commit 3347682fd0

View File

@@ -1537,9 +1537,6 @@ bool write_file(const char *name, FILE *f_open, bool tmp,
if (*name == '\0') if (*name == '\0')
return -1; return -1;
if (!tmp)
titlebar(NULL);
realname = real_dir_from_tilde(name); realname = real_dir_from_tilde(name);
#ifdef ENABLE_OPERATINGDIR #ifdef ENABLE_OPERATINGDIR