summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/SRC/clc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-12 16:55:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-12 16:55:11 +0000
commita63f23128ea8468ec01e99976d046af8c6dfa807 (patch)
treeb7bf5e1188f98b47afaee73c0d3ba9a3f5a2e89f /plugins/Clist_nicer/SRC/clc.cpp
parentec2d0c98145867ab68ab844a469fc26b3da9f820 (diff)
customized toolbars: initial settings
git-svn-id: http://svn.miranda-ng.org/main/trunk@929 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/SRC/clc.cpp')
-rw-r--r--plugins/Clist_nicer/SRC/clc.cpp4
1 files changed, 2 insertions, 2 deletions
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"))