From 960b228e825c58c8ab43508a8305097c876d59c8 Mon Sep 17 00:00:00 2001 From: Eddy De Greef Date: Thu, 6 Mar 2008 17:24:22 +0000 Subject: [PATCH] Fix for SF bug #1908890: window title not updated. --- ReleaseNotes | 4 +++- source/file.c | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ReleaseNotes b/ReleaseNotes index 0459792..383a5c6 100644 --- a/ReleaseNotes +++ b/ReleaseNotes @@ -1,7 +1,7 @@ Release Notes for NEdit Version 5.5, October 2004 -$Id: ReleaseNotes,v 1.60 2008/03/03 15:54:42 tringali Exp $ +$Id: ReleaseNotes,v 1.61 2008/03/06 17:24:22 edg Exp $ This file contains last minute notes to users about the release, which are not included in the documentation or README files included with the distribution @@ -23,6 +23,8 @@ New Features in $NEXT_VERSION Bugs fixed in $NEXT_VERSION + - Fix for SF bug #1908890: window title not updated. + - Fix for SF bug #1730611: $match_syntax_based is not set. - Crash on window close when a "File modified externally" dialog was up diff --git a/source/file.c b/source/file.c index a1e5596..dfc6aa5 100644 --- a/source/file.c +++ b/source/file.c @@ -1,4 +1,4 @@ -static const char CVSID[] = "$Id: file.c,v 1.116 2008/01/05 13:48:18 yooden Exp $"; +static const char CVSID[] = "$Id: file.c,v 1.117 2008/03/06 17:24:22 edg Exp $"; /******************************************************************************* * * * file.c -- Nirvana Editor file i/o * @@ -881,7 +881,6 @@ int SaveWindowAs(WindowInfo *window, const char *newName, int addWrap) window->fileGid = 0; CLEAR_ALL_LOCKS(window->lockReasons); retVal = doSave(window); - UpdateWindowTitle(window); UpdateWindowReadOnly(window); RefreshTabState(window); @@ -896,7 +895,8 @@ int SaveWindowAs(WindowInfo *window, const char *newName, int addWrap) } window->filenameSet = True; - /* Update the stats line with the new filename */ + /* Update the stats line and window title with the new filename */ + UpdateWindowTitle(window); UpdateStatsLine(window); SortTabBar(window); -- 2.11.4.GIT