Fixed typeo that prevented compilation

svn path=/trunk/; revision=2303
This commit is contained in:
Phillip Susi 2001-10-17 20:02:52 +00:00
parent 20bec3cf6b
commit 145c90c778

View file

@ -185,12 +185,12 @@ INT cmd_rename (LPTSTR cmd, LPTSTR param)
continue; continue;
/* do not rename hidden or system files */ /* do not rename hidden or system files */
if (f.dwAttributes & (FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM)) if (f.dwFileAttributes & (FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM))
continue; continue;
/* do not rename directories when the destination pattern contains /* do not rename directories when the destination pattern contains
* wildcards, unless option /S is used */ * wildcards, unless option /S is used */
if ((f.dwAttributes & FILE_ATTRIBUTE_DIRECTORY) if ((f.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
&& bDstWildcard && bDstWildcard
&& !(dwFlags & REN_SUBDIR)) && !(dwFlags & REN_SUBDIR))
continue; continue;