mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[appwiz] Allow passing directories to the create new shortcut wizard
See issue #6169 for more details. svn path=/trunk/; revision=51822
This commit is contained in:
parent
53bec9d2e8
commit
ba4214e8d5
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ ShowCreateShortcutWizard(HWND hwndCPl, LPWSTR szPath)
|
|||
}
|
||||
|
||||
attrs = GetFileAttributesW(szPath);
|
||||
if (attrs == INVALID_FILE_ATTRIBUTES || (attrs & FILE_ATTRIBUTE_DIRECTORY))
|
||||
if (attrs == INVALID_FILE_ATTRIBUTES)
|
||||
{
|
||||
/* invalid path */
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue