Author: tfaber
Date: Sun Nov 20 09:16:19 2016
New Revision: 73322
URL:
http://svn.reactos.org/svn/reactos?rev=73322&view=rev
Log:
[NOTEPAD]
- Update the window title on Save. Based on a patch by Thomas Csovcsity.
CORE-12423 #resolve
Modified:
trunk/reactos/base/applications/notepad/dialog.c
Modified: trunk/reactos/base/applications/notepad/dialog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
==============================================================================
--- trunk/reactos/base/applications/notepad/dialog.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/notepad/dialog.c [iso-8859-1] Sun Nov 20 09:16:19
2016
@@ -438,9 +438,15 @@
BOOL DIALOG_FileSave(VOID)
{
if (Globals.szFileName[0] == 0)
+ {
return DIALOG_FileSaveAs();
- else
- return DoSaveFile();
+ }
+ else if (DoSaveFile())
+ {
+ UpdateWindowCaption(TRUE);
+ return TRUE;
+ }
+ return FALSE;
}
static UINT_PTR