From 584d59fb2fb890c16bfd1e81a36e2d5803faf68d Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Sun, 14 Nov 2010 18:21:49 +0000 Subject: Removed folder selection dialog git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@572 4f64403b-2f21-0410-a795-97e2b3489a10 --- updater/options.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'updater/options.cpp') diff --git a/updater/options.cpp b/updater/options.cpp index aa51a07..4b6115e 100644 --- a/updater/options.cpp +++ b/updater/options.cpp @@ -57,7 +57,7 @@ static int EnumerateFuncFillList(char *szComponentName, UpdateOptions *update_op // Initialize LVITEM members that are common to all // items. lvI.mask = LVIF_TEXT | LVIF_PARAM; - lvI.lParam = (update_options->enabled ? 1 : 0) + (update_options->use_beta ? 2 : 0) + (update_options->fixed ? 4 : 0); + lvI.lParam = (update_options->enabled ? 1 : 0) | (update_options->use_beta ? 2 : 0) | (update_options->fixed ? 4 : 0); lvI.iSubItem = 0; lvI.pszText = (temp_str = GetTString(szComponentName)); @@ -375,8 +375,6 @@ static INT_PTR CALLBACK DlgProcOpts1(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR int OptInit(WPARAM wParam,LPARAM lParam) { - DWORD mirVir = (DWORD)CallService(MS_SYSTEM_GETVERSION, 0, 0); - OPTIONSDIALOGPAGE odp = { 0 }; odp.cbSize = sizeof(odp); odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR; @@ -488,7 +486,7 @@ void LoadOptions(void) } } -void SaveOptions() +void SaveOptions(void) { DBWriteContactSettingByte(0, MODULE, "CheckOnStartup", options.check_on_startup ? 1 : 0); DBWriteContactSettingByte(0, MODULE, "CheckOnce", options.check_once ? 1 : 0); -- cgit v1.2.3