https://git.reactos.org/?p=reactos.git;a=commitdiff;h=243fe6d6a399f0e6842fb…
commit 243fe6d6a399f0e6842fb545ea7e7096416e8638
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Jun 10 03:23:01 2018 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Jun 10 04:00:18 2018 +0200
[CONSRV] Use a similar parameter name as in other functions.
---
win32ss/user/winsrv/consrv/console.c | 4 ++--
win32ss/user/winsrv/consrv/console.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/win32ss/user/winsrv/consrv/console.c b/win32ss/user/winsrv/consrv/console.c
index b45828e223..a6e687b3a3 100644
--- a/win32ss/user/winsrv/consrv/console.c
+++ b/win32ss/user/winsrv/consrv/console.c
@@ -294,7 +294,7 @@ ConSrvGetConsole(IN PCONSOLE_PROCESS_DATA ProcessData,
VOID
ConSrvReleaseConsole(IN PCONSRV_CONSOLE Console,
- IN BOOLEAN WasConsoleLocked)
+ IN BOOLEAN IsConsoleLocked)
{
LONG RefCount = 0;
@@ -314,7 +314,7 @@ ConSrvReleaseConsole(IN PCONSRV_CONSOLE Console,
RefCount = _InterlockedDecrement(&Console->ReferenceCount);
/* Unlock the console if needed */
- if (WasConsoleLocked) LeaveCriticalSection(&Console->Lock);
+ if (IsConsoleLocked) LeaveCriticalSection(&Console->Lock);
/* Delete the console if needed */
if (RefCount <= 0) ConSrvDeleteConsole(Console);
diff --git a/win32ss/user/winsrv/consrv/console.h b/win32ss/user/winsrv/consrv/console.h
index 67bedfe7cd..07741638c2 100644
--- a/win32ss/user/winsrv/consrv/console.h
+++ b/win32ss/user/winsrv/consrv/console.h
@@ -39,7 +39,7 @@ ConSrvGetConsole(IN PCONSOLE_PROCESS_DATA ProcessData,
IN BOOLEAN LockConsole);
VOID
ConSrvReleaseConsole(IN struct _CONSRV_CONSOLE* /* PCONSRV_CONSOLE */ Console,
- IN BOOLEAN WasConsoleLocked);
+ IN BOOLEAN IsConsoleLocked);
BOOLEAN NTAPI