Author: gschneider
Date: Thu May 19 18:04:10 2011
New Revision: 51822
URL:
http://svn.reactos.org/svn/reactos?rev=51822&view=rev
Log:
[appwiz] Allow passing directories to the create new shortcut wizard
See issue #6169 for more details.
Modified:
trunk/reactos/dll/cpl/appwiz/createlink.c
Modified: trunk/reactos/dll/cpl/appwiz/createlink.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/appwiz/createlink.…
==============================================================================
--- trunk/reactos/dll/cpl/appwiz/createlink.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/appwiz/createlink.c [iso-8859-1] Thu May 19 18:04:10 2011
@@ -340,7 +340,7 @@
}
attrs = GetFileAttributesW(szPath);
- if (attrs == INVALID_FILE_ATTRIBUTES || (attrs & FILE_ATTRIBUTE_DIRECTORY))
+ if (attrs == INVALID_FILE_ATTRIBUTES)
{
/* invalid path */
return FALSE;