mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[NOTEPAD] Add to recent documents (#2649)
Add to recent documents upon file save. CORE-3588
This commit is contained in:
parent
032b5aacd2
commit
f28cc0fc78
1 changed files with 6 additions and 0 deletions
|
@ -305,6 +305,12 @@ static BOOL DoSaveFile(VOID)
|
||||||
|
|
||||||
CloseHandle(hFile);
|
CloseHandle(hFile);
|
||||||
HeapFree(GetProcessHeap(), 0, pTemp);
|
HeapFree(GetProcessHeap(), 0, pTemp);
|
||||||
|
|
||||||
|
if (bRet)
|
||||||
|
{
|
||||||
|
SetFileName(Globals.szFileName);
|
||||||
|
}
|
||||||
|
|
||||||
return bRet;
|
return bRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue