mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 22:03:39 +00:00
comdlg32: Save dialog works if fred\ entered as filename.
This commit is contained in:
parent
47c847663e
commit
8707021aae
|
@ -1958,7 +1958,8 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
|
|||
}
|
||||
else if (!(fodInfos->ofnInfos->Flags & OFN_NOVALIDATE))
|
||||
{
|
||||
if(*lpszTemp) /* points to trailing null for last path element */
|
||||
if(*lpszTemp || /* points to trailing null for last path element */
|
||||
(lpwstrTemp[strlenW(lpwstrTemp)-1] == '\\')) /* or if last element ends in '\' */
|
||||
{
|
||||
if(fodInfos->ofnInfos->Flags & OFN_PATHMUSTEXIST)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue