[RTL] Revert some accidental formatting changes in r70634. NFC.
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 21 Jan 2016 16:52:31 +0000 (16:52 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 21 Jan 2016 16:52:31 +0000 (16:52 +0000)
svn path=/trunk/; revision=70635

reactos/lib/rtl/image.c

index f552273..c7815b0 100644 (file)
@@ -346,24 +346,24 @@ RtlImageRvaToVa(
 {
     PIMAGE_SECTION_HEADER Section = NULL;
 
-if (SectionHeader)
-Section = *SectionHeader;
+    if (SectionHeader)
+        Section = *SectionHeader;
 
-if ((Section == NULL) ||
-    (Rva < SWAPD(Section->VirtualAddress)) ||
-    (Rva >= SWAPD(Section->VirtualAddress) + SWAPD(Section->SizeOfRawData)))
-{
-    Section = RtlImageRvaToSection(NtHeader, BaseAddress, Rva);
-    if (Section == NULL)
-        return NULL;
+    if ((Section == NULL) ||
+        (Rva < SWAPD(Section->VirtualAddress)) ||
+        (Rva >= SWAPD(Section->VirtualAddress) + SWAPD(Section->SizeOfRawData)))
+    {
+        Section = RtlImageRvaToSection(NtHeader, BaseAddress, Rva);
+        if (Section == NULL)
+            return NULL;
 
-    if (SectionHeader)
-        *SectionHeader = Section;
-}
+        if (SectionHeader)
+            *SectionHeader = Section;
+    }
 
-return (PVOID)((ULONG_PTR)BaseAddress + Rva +
-    (ULONG_PTR)SWAPD(Section->PointerToRawData) -
-    (ULONG_PTR)SWAPD(Section->VirtualAddress));
+    return (PVOID)((ULONG_PTR)BaseAddress + Rva +
+                   (ULONG_PTR)SWAPD(Section->PointerToRawData) -
+                   (ULONG_PTR)SWAPD(Section->VirtualAddress));
 }
 
 PIMAGE_BASE_RELOCATION
@@ -426,7 +426,7 @@ LdrProcessRelocationBlockLongLong(
         default:
             DPRINT1("Unknown/unsupported fixup type %hu.\n", Type);
             DPRINT1("Address %p, Current %u, Count %u, *TypeOffset %x\n",
-                (PVOID)Address, i, Count, SWAPW(*TypeOffset));
+                    (PVOID)Address, i, Count, SWAPW(*TypeOffset));
             return (PIMAGE_BASE_RELOCATION)NULL;
         }