Juan Lang : cryptui: Set default export file name based on input in CryptUIWizExport.

Alexandre Julliard julliard at winehq.org
Tue Jan 27 09:06:55 CST 2009


Module: wine
Branch: master
Commit: 56b38801b1e385c47078c6e781320b359b2d1e86
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=56b38801b1e385c47078c6e781320b359b2d1e86

Author: Juan Lang <juan.lang at gmail.com>
Date:   Sat Jan 24 14:16:19 2009 -0800

cryptui: Set default export file name based on input in CryptUIWizExport.

---

 dlls/cryptui/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c
index 50b5cb5..5c07014 100644
--- a/dlls/cryptui/main.c
+++ b/dlls/cryptui/main.c
@@ -5886,6 +5886,9 @@ static LRESULT CALLBACK export_file_dlg_proc(HWND hwnd, UINT msg, WPARAM wp,
 
         data = (struct ExportWizData *)page->lParam;
         SetWindowLongPtrW(hwnd, DWLP_USER, (LPARAM)data);
+        if (data->pExportInfo->pwszExportFileName)
+            SendMessageW(GetDlgItem(hwnd, IDC_EXPORT_FILENAME), WM_SETTEXT, 0,
+             (LPARAM)data->pExportInfo->pwszExportFileName);
         break;
     }
     case WM_NOTIFY:




More information about the wine-cvs mailing list