mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user