Author: pschweitzer
Date: Sun Mar 6 10:20:32 2011
New Revision: 50979
URL:
http://svn.reactos.org/svn/reactos?rev=50979&view=rev
Log:
[KERNEL32]
Apply consistent formatting to FlushFileBuffers.
No code changes yet
Modified:
trunk/reactos/dll/win32/kernel32/file/file.c
Modified: trunk/reactos/dll/win32/kernel32/file/file.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/file/fi…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/file/file.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/file/file.c [iso-8859-1] Sun Mar 6 10:20:32 2011
@@ -408,24 +408,24 @@
BOOL WINAPI
FlushFileBuffers(HANDLE hFile)
{
- NTSTATUS errCode;
- IO_STATUS_BLOCK IoStatusBlock;
-
- hFile = TranslateStdHandle(hFile);
-
- if (IsConsoleHandle(hFile))
- {
- return FALSE;
- }
-
- errCode = NtFlushBuffersFile(hFile,
- &IoStatusBlock);
- if (!NT_SUCCESS(errCode))
- {
- SetLastErrorByStatus(errCode);
- return(FALSE);
- }
- return(TRUE);
+ NTSTATUS errCode;
+ IO_STATUS_BLOCK IoStatusBlock;
+
+ hFile = TranslateStdHandle(hFile);
+
+ if (IsConsoleHandle(hFile))
+ {
+ return FALSE;
+ }
+
+ errCode = NtFlushBuffersFile(hFile,
+ &IoStatusBlock);
+ if (!NT_SUCCESS(errCode))
+ {
+ SetLastErrorByStatus(errCode);
+ return(FALSE);
+ }
+ return(TRUE);
}