mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
[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]
```
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user