From 38398fbaf3e76c16f744e97efe25da7f601e2d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Fri, 5 Sep 2025 11:49:31 +0200 Subject: [PATCH] [MSGINA] Fix gcc x86 build Addendum to commit 1499e7ef53. Poor thing was crying that it was ignoring trigraph `??)`, even though this whole thing was inside an `#if 0`-commented block... Use something else instead. ``` msgina/shutdown.c: In function 'ShutdownDialog': msgina/shutdown.c:1217:56: error: trigraph ??) ignored, use -trigraphs to enable [-Werror=trigraphs] pgContext->nShutdownAction = LoadShutdownSelState(???); msgina/shutdown.c: At top level: cc1: error: unrecognized command line option '-Wno-unknown-warning-option' [-Werror] ``` --- dll/win32/msgina/shutdown.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dll/win32/msgina/shutdown.c b/dll/win32/msgina/shutdown.c index 5a99c9a22ac..35f79c53a49 100644 --- a/dll/win32/msgina/shutdown.c +++ b/dll/win32/msgina/shutdown.c @@ -1213,8 +1213,8 @@ ShutdownDialog( SHUTDOWN_DLG_CONTEXT Context = {0}; #if 0 - ShutdownOptions = GetAllowedShutdownOptions(???, pgContext->UserToken); - pgContext->nShutdownAction = LoadShutdownSelState(???); + ShutdownOptions = GetAllowedShutdownOptions(hKeyCurrentUser, pgContext->UserToken); + pgContext->nShutdownAction = LoadShutdownSelState(hKeyCurrentUser); ShutdownOptions &= ~dwExcludeOptions; #endif @@ -1259,7 +1259,7 @@ ShutdownDialog( #if 0 if (ret == IDOK) - SaveShutdownSelState(???, pgContext->nShutdownAction); + SaveShutdownSelState(hKeyCurrentUser, pgContext->nShutdownAction); #endif return ret;