[KERNEL32]
[reactos.git] / reactos / dll / win32 / kernel32 / file / file.c
index 4e11810..0d5d251 100644 (file)
@@ -408,24 +408,24 @@ OpenFile(LPCSTR lpFileName,
 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);
 }