mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 08:50:24 +08:00
[NOTEPAD] Add to recent documents (#2649)
Add to recent documents upon file save. CORE-3588
This commit is contained in:
committed by
GitHub
parent
032b5aacd2
commit
f28cc0fc78
@@ -305,6 +305,12 @@ static BOOL DoSaveFile(VOID)
|
||||
|
||||
CloseHandle(hFile);
|
||||
HeapFree(GetProcessHeap(), 0, pTemp);
|
||||
|
||||
if (bRet)
|
||||
{
|
||||
SetFileName(Globals.szFileName);
|
||||
}
|
||||
|
||||
return bRet;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user