summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-10-21 18:03:37 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-10-21 18:03:37 +0000
commitcc0bba9e4b660eb2070cd028518947a782222f52 (patch)
tree1f1f1e3babf0a0e9177b414f6b94701352f5506e
parent33dd47e5bc6e6802a55495be15e518ae87f89cb5 (diff)
downloadwireshark-cc0bba9e4b660eb2070cd028518947a782222f52.tar.gz
Tentative fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9287 :
Initialize ofn->lCustData variable svn path=/trunk/; revision=52740
-rw-r--r--ui/win32/file_dlg_win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/win32/file_dlg_win32.c b/ui/win32/file_dlg_win32.c
index 110754fed9..1ceb2e451c 100644
--- a/ui/win32/file_dlg_win32.c
+++ b/ui/win32/file_dlg_win32.c
@@ -473,6 +473,7 @@ win32_export_specified_packets_file(HWND h_wnd, capture_file *cf,
OFN_NOCHANGEDIR | OFN_OVERWRITEPROMPT | OFN_HIDEREADONLY |
OFN_PATHMUSTEXIST | OFN_ENABLEHOOK | OFN_SHOWHELP;
ofn->lpstrDefExt = NULL;
+ ofn->lCustData = (LPARAM) cf;
ofn->lpfnHook = export_specified_packets_file_hook_proc;
ofn->lpTemplateName = _T("WIRESHARK_EXPORT_SPECIFIED_PACKETS_FILENAME_TEMPLATE");