more miscellaneous breakage fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2863 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey
2005-07-14 23:06:22 +00:00
parent fa82853aea
commit 443a766fe2
3 changed files with 10 additions and 2 deletions

View File

@@ -230,7 +230,15 @@ void open_buffer(const char *filename)
/* Update the screen to account for the current buffer. */
void display_buffer(void)
{
/* Update the titlebar, since the filename may have changed. */
titlebar(NULL);
#ifdef ENABLE_COLOR
/* Update the buffer's associated colors, if applicable. */
color_update();
#endif
/* Update the edit window. */
edit_refresh();
}