Rob Shearman : credui: Return the state of the dialog' s save checkbox to CredUIPromptForCredentials.
Alexandre Julliard
julliard at winehq.org
Wed Jan 23 14:36:48 CST 2008
Module: wine
Branch: master
Commit: 8bee6946cc7c969efb9b41ee12334231eb9dfe2d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8bee6946cc7c969efb9b41ee12334231eb9dfe2d
Author: Rob Shearman <rob at codeweavers.com>
Date: Wed Jan 23 16:33:13 2008 +0000
credui: Return the state of the dialog's save checkbox to CredUIPromptForCredentials.
---
dlls/credui/credui_main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/credui/credui_main.c b/dlls/credui/credui_main.c
index 342e701..42316d6 100644
--- a/dlls/credui/credui_main.c
+++ b/dlls/credui/credui_main.c
@@ -462,6 +462,8 @@ static void CredDialogCommandOk(HWND hwndDlg, struct cred_dialog_params *params)
GetDlgItemTextW(hwndDlg, IDC_PASSWORD, params->pszPassword,
params->ulPasswordMaxChars);
+ params->fSave = IsDlgButtonChecked(hwndDlg, IDC_SAVE) == BST_CHECKED;
+
EndDialog(hwndDlg, IDOK);
}
More information about the wine-cvs
mailing list