From 3878c0269822e1a1a828a2847a6b84ab6857eb1b Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 5 Dec 2020 11:44:28 +0000 Subject: __ntapi_sem_set(): adjust code formatting. --- src/sem/ntapi_sem_set.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/sem') 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) -- cgit v1.2.3