From 3878c0269822e1a1a828a2847a6b84ab6857eb1b Mon Sep 17 00:00:00 2001 From: midipix Date: Dec 05 2020 11:45:47 +0000 Subject: __ntapi_sem_set(): adjust code formatting. --- diff --git a/src/sem/ntapi_sem_set.c b/src/sem/ntapi_sem_set.c index c7833fc..fac65e3 100644 --- a/src/sem/ntapi_sem_set.c +++ b/src/sem/ntapi_sem_set.c @@ -77,11 +77,12 @@ int32_t __stdcall __ntapi_sem_set( } else if ((status = __ntapi->ipc_init_section_by_port( sem->hport,&hsection, - &secaddr,&secsize))) + &secaddr,&secsize))) { return status; - else + } else { mapaddr = secaddr; + } /* data size */ if (secsize < sem_info_length)