mirror of
https://github.com/reactos/reactos.git
synced 2026-05-22 23:30:07 +08:00
Indentation fixes.
This commit is contained in:
committed by
Victor Perevertkin
parent
f83f650dd6
commit
9c8a86b4cc
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user