mirror of
https://github.com/reactos/reactos.git
synced 2024-12-25 16:50:57 +00:00
Fixed typeo that prevented compilation
svn path=/trunk/; revision=2303
This commit is contained in:
parent
20bec3cf6b
commit
145c90c778
1 changed files with 2 additions and 2 deletions
|
@ -185,12 +185,12 @@ INT cmd_rename (LPTSTR cmd, LPTSTR param)
|
|||
continue;
|
||||
|
||||
/* 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;
|
||||
|
||||
/* do not rename directories when the destination pattern contains
|
||||
* wildcards, unless option /S is used */
|
||||
if ((f.dwAttributes & FILE_ATTRIBUTE_DIRECTORY)
|
||||
if ((f.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
|
||||
&& bDstWildcard
|
||||
&& !(dwFlags & REN_SUBDIR))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue