summaryrefslogtreecommitdiff
path: root/tipper/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tipper/options.cpp')
-rw-r--r--tipper/options.cpp2
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");