projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f28cc0f
)
[MSPAINT] Add to recent documents (#2651)
author
Katayama Hirofumi MZ
<katayama.hirofumi.mz@gmail.com>
Sun, 26 Apr 2020 00:07:14 +0000
(09:07 +0900)
committer
GitHub
<noreply@github.com>
Sun, 26 Apr 2020 00:07:14 +0000
(09:07 +0900)
Add to recent documents upon file save. CORE-3588
base/applications/mspaint/dib.cpp
patch
|
blob
|
history
diff --git
a/base/applications/mspaint/dib.cpp
b/base/applications/mspaint/dib.cpp
index
dbe9003
..
ce74c09
100644
(file)
--- a/
base/applications/mspaint/dib.cpp
+++ b/
base/applications/mspaint/dib.cpp
@@
-69,6
+69,8
@@
SaveDIBToFile(HBITMAP hBitmap, LPTSTR FileName, HDC hDC, LPSYSTEMTIME time, int
// TODO: update hRes and vRes
CloseHandle(hFile);
+
+ registrySettings.SetMostRecentFile(FileName);
}
void ShowFileLoadError(LPCTSTR name)