Skip to content

Commit 38398fb

Browse files
committed
[MSGINA] Fix gcc x86 build
Addendum to commit 1499e7e. 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] ```
1 parent a1bbcee commit 38398fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dll/win32/msgina/shutdown.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,8 +1213,8 @@ ShutdownDialog(
12131213
SHUTDOWN_DLG_CONTEXT Context = {0};
12141214

12151215
#if 0
1216-
ShutdownOptions = GetAllowedShutdownOptions(???, pgContext->UserToken);
1217-
pgContext->nShutdownAction = LoadShutdownSelState(???);
1216+
ShutdownOptions = GetAllowedShutdownOptions(hKeyCurrentUser, pgContext->UserToken);
1217+
pgContext->nShutdownAction = LoadShutdownSelState(hKeyCurrentUser);
12181218
ShutdownOptions &= ~dwExcludeOptions;
12191219
#endif
12201220

@@ -1259,7 +1259,7 @@ ShutdownDialog(
12591259

12601260
#if 0
12611261
if (ret == IDOK)
1262-
SaveShutdownSelState(???, pgContext->nShutdownAction);
1262+
SaveShutdownSelState(hKeyCurrentUser, pgContext->nShutdownAction);
12631263
#endif
12641264

12651265
return ret;

0 commit comments

Comments
 (0)