summaryrefslogtreecommitdiff
path: root/ptw32_decrease_semaphore.c
diff options
context:
space:
mode:
Diffstat (limited to 'ptw32_decrease_semaphore.c')
-rw-r--r--ptw32_decrease_semaphore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ptw32_decrease_semaphore.c b/ptw32_decrease_semaphore.c
index e16dfd6..51a6cf2 100644
--- a/ptw32_decrease_semaphore.c
+++ b/ptw32_decrease_semaphore.c
@@ -59,9 +59,9 @@ ptw32_decrease_semaphore(sem_t * sem)
{
s->value--;
if (s->value != 0)
- {
- SetEvent(s->event);
- }
+ {
+ SetEvent(s->event);
+ }
}
else
{