https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9c8a86b4ccea62546e2a7c7736b79ec4d0419da4

commit 9c8a86b4ccea62546e2a7c7736b79ec4d0419da4
Author:     Doug Lyons <[email protected]>
AuthorDate: Tue Dec 10 20:15:54 2019 -0600
Commit:     Victor Perevertkin <[email protected]>
CommitDate: Tue Dec 28 02:03:54 2021 +0300

    Indentation fixes.
---
 base/applications/cmdutils/attrib/attrib.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/base/applications/cmdutils/attrib/attrib.c 
b/base/applications/cmdutils/attrib/attrib.c
index 0b226898185..fd5b5e8372a 100644
--- a/base/applications/cmdutils/attrib/attrib.c
+++ b/base/applications/cmdutils/attrib/attrib.c
@@ -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;
 }

Reply via email to