mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user