[KERNEL32]
authorPierre Schweitzer <pierre@reactos.org>
Sun, 6 Mar 2011 10:20:32 +0000 (10:20 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 6 Mar 2011 10:20:32 +0000 (10:20 +0000)
Apply consistent formatting to FlushFileBuffers.
No code changes yet

svn path=/trunk/; revision=50979

reactos/dll/win32/kernel32/file/file.c

index 4e11810..0d5d251 100644 (file)
@@ -408,24 +408,24 @@ OpenFile(LPCSTR lpFileName,
 BOOL WINAPI
 FlushFileBuffers(HANDLE hFile)
 {
 BOOL WINAPI
 FlushFileBuffers(HANDLE hFile)
 {
-   NTSTATUS errCode;
-   IO_STATUS_BLOCK IoStatusBlock;
+    NTSTATUS errCode;
+    IO_STATUS_BLOCK IoStatusBlock;
 
 
-   hFile = TranslateStdHandle(hFile);
+    hFile = TranslateStdHandle(hFile);
 
 
-   if (IsConsoleHandle(hFile))
-   {
-      return FALSE;
-   }
+    if (IsConsoleHandle(hFile))
+    {
+        return FALSE;
+    }
 
 
-   errCode = NtFlushBuffersFile(hFile,
-                               &IoStatusBlock);
-   if (!NT_SUCCESS(errCode))
-     {
-       SetLastErrorByStatus(errCode);
-       return(FALSE);
-     }
-   return(TRUE);
+    errCode = NtFlushBuffersFile(hFile,
+                                 &IoStatusBlock);
+    if (!NT_SUCCESS(errCode))
+    {
+        SetLastErrorByStatus(errCode);
+        return(FALSE);
+    }
+    return(TRUE);
 }
 
 
 }