summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-12 06:28:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-12 06:28:11 +0000
commit8898b7c6f08cacbf826567bc0e16abf51a22f48d (patch)
treeb7def7f264413cb574a04c921b3926e3b2c188cf /plugins/Clist_modern
parent6c2ab603d2456c41ec977fb3fc18666439a10785 (diff)
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
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r--plugins/Clist_modern/modern_toolbar.cpp4
1 files changed, 2 insertions, 2 deletions
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;