mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 14:09:10 +00:00
[SHIMGVW] Add file extension on file save (#5975)
In order to add a filename extension if necessary, set "png" to OPENFILENAME.lpstrDefExt. CORE-19222
This commit is contained in:
parent
3fb5957de1
commit
91adec683d
|
@ -435,8 +435,9 @@ static void pSaveImageAs(HWND hwnd)
|
|||
sfn.hInstance = hInstance;
|
||||
sfn.lpstrFile = szSaveFileName;
|
||||
sfn.lpstrFilter = szFilterMask;
|
||||
sfn.nMaxFile = MAX_PATH;
|
||||
sfn.nMaxFile = _countof(szSaveFileName);
|
||||
sfn.Flags = OFN_EXPLORER | OFN_OVERWRITEPROMPT | OFN_HIDEREADONLY;
|
||||
sfn.lpstrDefExt = L"png";
|
||||
|
||||
c = szFilterMask;
|
||||
|
||||
|
|
Loading…
Reference in a new issue