From ba4214e8d5fcf7079ab1bda7e3fabbc30c84dca1 Mon Sep 17 00:00:00 2001 From: Gregor Schneider Date: Thu, 19 May 2011 18:04:10 +0000 Subject: [PATCH] [appwiz] Allow passing directories to the create new shortcut wizard See issue #6169 for more details. svn path=/trunk/; revision=51822 --- reactos/dll/cpl/appwiz/createlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/cpl/appwiz/createlink.c b/reactos/dll/cpl/appwiz/createlink.c index 609eb2342d1..44b09afec67 100644 --- a/reactos/dll/cpl/appwiz/createlink.c +++ b/reactos/dll/cpl/appwiz/createlink.c @@ -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;