[NTOS]: Code formatting only.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 18 Sep 2016 23:28:32 +0000 (23:28 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 18 Sep 2016 23:28:32 +0000 (23:28 +0000)
svn path=/trunk/; revision=72736

reactos/ntoskrnl/ex/locale.c

index 0df761c..8689409 100644 (file)
@@ -221,7 +221,7 @@ NtSetDefaultLocale(IN BOOLEAN UserProfile,
     {
         /* Open the user's key */
         Status = RtlOpenCurrentUser(KEY_WRITE, &UserKey);
     {
         /* Open the user's key */
         Status = RtlOpenCurrentUser(KEY_WRITE, &UserKey);
-        if (!NT_SUCCESS(Status)) return(Status);
+        if (!NT_SUCCESS(Status)) return Status;
 
         /* Initialize the registry location */
         RtlInitUnicodeString(&KeyName, L"Control Panel\\International");
 
         /* Initialize the registry location */
         RtlInitUnicodeString(&KeyName, L"Control Panel\\International");
@@ -239,10 +239,10 @@ NtSetDefaultLocale(IN BOOLEAN UserProfile,
 
     /* Initialize the object attributes */
     InitializeObjectAttributes(&ObjectAttributes,
 
     /* Initialize the object attributes */
     InitializeObjectAttributes(&ObjectAttributes,
-                              &KeyName,
-                              OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
-                              UserKey,
-                              NULL);
+                               &KeyName,
+                               OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
+                               UserKey,
+                               NULL);
 
     /* Check if we don't have a default locale yet */
     if (!DefaultLocaleId)
 
     /* Check if we don't have a default locale yet */
     if (!DefaultLocaleId)