From 81db3072e40eb4ff5af450d9d0e0b09a638bbc8d Mon Sep 17 00:00:00 2001 From: sje Date: Tue, 30 Oct 2007 05:00:53 +0000 Subject: fix to OPENFILENAME structure size for win9x git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@374 4f64403b-2f21-0410-a795-97e2b3489a10 --- tipper/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tipper/options.cpp') diff --git a/tipper/options.cpp b/tipper/options.cpp index 1da2d8a..79372da 100644 --- a/tipper/options.cpp +++ b/tipper/options.cpp @@ -1081,7 +1081,7 @@ static BOOL CALLBACK DlgProcOptLayout(HWND hwndDlg, UINT msg, WPARAM wParam, LPA TCHAR tempBgFn[MAX_PATH]; tempBgFn[0] = 0; OPENFILENAME ofn={0}; - ofn.lStructSize = sizeof(ofn); + ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400; ofn.hwndOwner = hwndDlg; ofn.lpstrFile = tempBgFn; ofn.lpstrFilter=_T("All Files (*.*)\0*.*\0\0"); -- cgit v1.2.3