summaryrefslogtreecommitdiff
path: root/tipper/options.cpp
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2009-03-31 05:12:22 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2009-03-31 05:12:22 +0000
commit8f7401d0d32b864e7c1efbe696fb60d010f001bb (patch)
tree77038f25c21f5397f98db7165f07b0655a0f7b7b /tipper/options.cpp
parent811039b40796ba732b12b5d2dfb52111980569ac (diff)
x64 port
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@447 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'tipper/options.cpp')
-rw-r--r--tipper/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tipper/options.cpp b/tipper/options.cpp
index 41271e5..f4ad1af 100644
--- a/tipper/options.cpp
+++ b/tipper/options.cpp
@@ -1162,8 +1162,8 @@ static INT_PTR CALLBACK DlgProcOptLayout(HWND hwndDlg, UINT msg, WPARAM wParam,
int OptInit(WPARAM wParam, LPARAM lParam) {
OPTIONSDIALOGPAGE odp = { 0 };
-#define OPTIONPAGE_OLD_SIZE2 60
- DWORD mirVir = (DWORD)CallService(MS_SYSTEM_GETVERSION, 0, 0);
+
+ DWORD mirVir = (DWORD)CallService(MS_SYSTEM_GETVERSION, 0, 0);
odp.cbSize = (mirVir >= 0x00060000 ? sizeof(odp) : OPTIONPAGE_OLD_SIZE2);
//odp.cbSize = sizeof(odp);