mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
Indentation fixes.
This commit is contained in:
parent
f83f650dd6
commit
9c8a86b4cc
1 changed files with 11 additions and 11 deletions
|
@ -417,19 +417,19 @@ int wmain(int argc, WCHAR *argv[])
|
|||
// Code below handles the special case of 'attrib +h /s' and similar
|
||||
|
||||
if (bRecurse && dwMask && (wcscmp(szPath, L"") == 0))
|
||||
{
|
||||
DWORD len;
|
||||
{
|
||||
DWORD len;
|
||||
|
||||
len = GetCurrentDirectory(MAX_PATH, szPath);
|
||||
if (szPath[len-1] != L'\\')
|
||||
{
|
||||
szPath[len] = L'\\';
|
||||
szPath[len + 1] = UNICODE_NULL;
|
||||
}
|
||||
wcscpy(szFileName, L"*.*");
|
||||
if (!ChangeAttribute(szPath, szFileName, bRecurse, bDirectories, dwMask, dwAttrib))
|
||||
ConResPrintf(StdOut, STRING_FILE_NOT_FOUND, szFileName);
|
||||
len = GetCurrentDirectory(MAX_PATH, szPath);
|
||||
if (szPath[len-1] != L'\\')
|
||||
{
|
||||
szPath[len] = L'\\';
|
||||
szPath[len + 1] = UNICODE_NULL;
|
||||
}
|
||||
wcscpy(szFileName, L"*.*");
|
||||
if (!ChangeAttribute(szPath, szFileName, bRecurse, bDirectories, dwMask, dwAttrib))
|
||||
ConResPrintf(StdOut, STRING_FILE_NOT_FOUND, szFileName);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue