From ca05bb3ec82978849dc1facd3291efb160a61d83 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 5 Dec 2020 11:41:19 +0000 Subject: __ntapi_sem_query(): adjust code formatting. --- src/sem/ntapi_sem_query.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sem/ntapi_sem_query.c b/src/sem/ntapi_sem_query.c index 35d3384..54e934f 100644 --- a/src/sem/ntapi_sem_query.c +++ b/src/sem/ntapi_sem_query.c @@ -76,11 +76,12 @@ int32_t __stdcall __ntapi_sem_query( } else if ((status = __ntapi->ipc_init_section_by_port( sem->hport,&hsection, - &secaddr,&secsize))) + &secaddr,&secsize))) { return status; - else + } else { mapaddr = secaddr; + } /* lock */ hlock = &(__ntapi_internals()->hlock); -- cgit v1.2.3