[NOTEPAD]

- Update the window title on Save. Based on a patch by Thomas Csovcsity.
CORE-12423 #resolve

svn path=/trunk/; revision=73322
This commit is contained in:
Thomas Faber
2016-11-20 09:16:19 +00:00
parent cef870285c
commit c037053a34
+8 -2
View File
@@ -438,9 +438,15 @@ VOID DIALOG_FileOpen(VOID)
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