still more miscellaneous color fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2869 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
@@ -1574,9 +1574,11 @@ int write_file(const char *name, FILE *f_open, bool tmp, int append,
|
||||
openfile->filename = mallocstrcpy(openfile->filename,
|
||||
realname);
|
||||
#ifdef ENABLE_COLOR
|
||||
/* We might have changed the filename, so update the
|
||||
* buffer's associated colors, if applicable. */
|
||||
/* We might have changed the filename, so update the colors
|
||||
* to account for it, and make sure we're using the updated
|
||||
* colors, if applicable. */
|
||||
color_update();
|
||||
color_init();
|
||||
|
||||
/* If color syntaxes are available and turned on, we need to
|
||||
* call edit_refresh(). */
|
||||
|
||||
Reference in New Issue
Block a user