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 +- tipper/version.h | 2 +- 2 files changed, 2 insertions(+), 2 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"); diff --git a/tipper/version.h b/tipper/version.h index 03c5b27..b20d3c5 100644 --- a/tipper/version.h +++ b/tipper/version.h @@ -4,7 +4,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 4 #define __RELEASE_NUM 1 -#define __BUILD_NUM 2 +#define __BUILD_NUM 3 #define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM #define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM -- cgit v1.2.3