From 8898b7c6f08cacbf826567bc0e16abf51a22f48d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Jul 2012 06:28:11 +0000 Subject: fix for the Sounds On/Off icon in Clist Modern git-svn-id: http://svn.miranda-ng.org/main/trunk@914 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/modern_toolbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/Clist_modern/modern_toolbar.cpp b/plugins/Clist_modern/modern_toolbar.cpp index 116f3a90d6..5b7ea96a37 100644 --- a/plugins/Clist_modern/modern_toolbar.cpp +++ b/plugins/Clist_modern/modern_toolbar.cpp @@ -88,7 +88,7 @@ static int Modern_InitButtons(WPARAM, LPARAM) SetButtonPressed(3, db_get_b(NULL, "CList", "HideOffline", SETTING_HIDEOFFLINE_DEFAULT)); SetButtonPressed(6, db_get_b(NULL, "CList", "UseGroups", SETTING_USEGROUPS_DEFAULT)); - SetButtonPressed(7, !db_get_b(NULL, "Skin", "UseSound", SETTING_ENABLESOUNDS_DEFAULT)); + SetButtonPressed(7, db_get_b(NULL, "Skin", "UseSound", SETTING_ENABLESOUNDS_DEFAULT)); return 1; } @@ -131,7 +131,7 @@ static int ehhToolBarSettingsChanged(WPARAM wParam, LPARAM lParam) } else if (!mir_strcmp(cws->szModule,"Skin")) { if (!mir_strcmp(cws->szSetting,"UseSound")) - SetButtonPressed(7, !cws->value.bVal); + SetButtonPressed(7, cws->value.bVal); } return 0; -- cgit v1.2.3