From a63f23128ea8468ec01e99976d046af8c6dfa807 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Jul 2012 16:55:11 +0000 Subject: customized toolbars: initial settings git-svn-id: http://svn.miranda-ng.org/main/trunk@929 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_nicer/SRC/clc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Clist_nicer/SRC/clc.cpp') diff --git a/plugins/Clist_nicer/SRC/clc.cpp b/plugins/Clist_nicer/SRC/clc.cpp index 7d6ce337f3..b63a77a7bb 100644 --- a/plugins/Clist_nicer/SRC/clc.cpp +++ b/plugins/Clist_nicer/SRC/clc.cpp @@ -169,8 +169,8 @@ static int ClcSettingChanged(WPARAM wParam, LPARAM lParam) pcli->pfnClcBroadcast(INTM_NAMEORDERCHANGED, wParam, lParam); } if (!__strcmp(cws->szSetting, "UseSound")) { - cfg::dat.soundsOff = cfg::getByte(cws->szModule, cws->szSetting, 0) ? 0 : 1; - CheckDlgButton(pcli->hwndContactList, IDC_TBSOUND, cfg::dat.soundsOff ? BST_UNCHECKED : BST_CHECKED); + cfg::dat.soundsOff = cws->value.bVal ? 0 : 1; + ClcSetButtonState(IDC_TBSOUND, cfg::dat.soundsOff); } } if (cfg::dat.bMetaAvail && cfg::dat.bMetaEnabled && !__strcmp(cws->szModule, cfg::dat.szMetaName) && !__strcmp(cws->szSetting, "IsSubcontact")) -- cgit v1.2.3