diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-10-30 05:00:53 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-10-30 05:00:53 +0000 |
commit | 81db3072e40eb4ff5af450d9d0e0b09a638bbc8d (patch) | |
tree | 73196009dca7874f1e7031b572c78c873e077b42 /tipper/options.cpp | |
parent | ada33e15355aaf0e222f7aa93063ab1efcdd21a1 (diff) |
fix to OPENFILENAME structure size for win9x
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@374 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'tipper/options.cpp')
-rw-r--r-- | tipper/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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");
|