Fix a cut & paste error.
Modified: trunk/reactos/lib/kernel32/file/dir.c
--- trunk/reactos/lib/kernel32/file/dir.c 2005-03-20 13:10:11 UTC (rev 14219) +++ trunk/reactos/lib/kernel32/file/dir.c 2005-03-20 13:10:57 UTC (rev 14220) @@ -54,7 +54,7 @@
PWCHAR NewDirectoryW = NULL; BOOL ret;
- if (TemplateDirectoryW != NULL &&
+ if (lpTemplateDirectory != NULL &&
!(TemplateDirectoryW = FilenameA2W(lpTemplateDirectory, FALSE))) return FALSE;