summaryrefslogtreecommitdiff
path: root/updater/options.cpp
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2010-11-14 18:21:49 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2010-11-14 18:21:49 +0000
commit584d59fb2fb890c16bfd1e81a36e2d5803faf68d (patch)
tree21a5ed2e9ea5221e0082d4f91bf6fd2a148f9a2f /updater/options.cpp
parenta0c86284a825ddc47a94309aed721b32545697fc (diff)
Removed folder selection dialog
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@572 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'updater/options.cpp')
-rw-r--r--updater/options.cpp6
1 files changed, 2 insertions, 4 deletions
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);