Fix indentation and coding style. No code changes.
[reactos.git] / reactos / dll / win32 / kernel32 / synch / timer.c
index fd21a1b..bf99ded 100644 (file)
@@ -75,7 +75,8 @@ CreateWaitableTimerExW(IN LPSECURITY_ATTRIBUTES lpTimerAttributes  OPTIONAL,
     TIMER_TYPE TimerType;
 
     /* Now check if we got a name */
-    if (lpTimerName) RtlInitUnicodeString(&ObjectName, lpTimerName);
+    if (lpTimerName)
+        RtlInitUnicodeString(&ObjectName, lpTimerName);
 
     if (dwFlags & ~(CREATE_WAITABLE_TIMER_MANUAL_RESET))
     {
@@ -268,7 +269,8 @@ SetWaitableTimer(IN HANDLE hTimer,
                         (BOOLEAN)fResume,
                         lPeriod,
                         NULL);
-    if (NT_SUCCESS(Status)) return TRUE;
+    if (NT_SUCCESS(Status))
+        return TRUE;
 
     /* If we got here, then we failed */
     SetLastErrorByStatus(Status);
@@ -286,7 +288,8 @@ CancelWaitableTimer(IN HANDLE hTimer)
 
     /* Cancel the timer */
     Status = NtCancelTimer(hTimer, NULL);
-    if (NT_SUCCESS(Status)) return TRUE;
+    if (NT_SUCCESS(Status))
+        return TRUE;
 
     /* If we got here, then we failed */
     SetLastErrorByStatus(Status);