projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33f303a
)
[MSGINA]
author
Eric Kohl
<eric.kohl@reactos.org>
Wed, 22 Jul 2015 20:28:51 +0000
(20:28 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Wed, 22 Jul 2015 20:28:51 +0000
(20:28 +0000)
Show shutdown dialog at the logon screen if the user wants to shutdown. Patch by Jared Smudde.
CORE-9919 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=68562
reactos/dll/win32/msgina/gui.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/msgina/gui.c
b/reactos/dll/win32/msgina/gui.c
index
3da57d0
..
3ac474d
100644
(file)
--- a/
reactos/dll/win32/msgina/gui.c
+++ b/
reactos/dll/win32/msgina/gui.c
@@
-1161,7
+1161,8
@@
LoggedOutWindowProc(
return TRUE;
case IDC_SHUTDOWN:
- EndDialog(hwndDlg, WLX_SAS_ACTION_SHUTDOWN);
+ if (OnShutDown(hwndDlg, pgContext) == IDOK)
+ EndDialog(hwndDlg, pgContext->nShutdownAction);
return TRUE;
}
break;