From 602b5649c01971b1289b63690bd66743f3f9387c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 14 Nov 2014 20:51:35 +0000 Subject: minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@10990 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewsAggregator/Src/Services.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/NewsAggregator/Src/Services.cpp') diff --git a/plugins/NewsAggregator/Src/Services.cpp b/plugins/NewsAggregator/Src/Services.cpp index 104730e4eb..c9f4fea07b 100644 --- a/plugins/NewsAggregator/Src/Services.cpp +++ b/plugins/NewsAggregator/Src/Services.cpp @@ -232,7 +232,7 @@ INT_PTR NewsAggrRecvMessage(WPARAM, LPARAM lParam) return 0; } -void UpdateMenu(BOOL State) +void UpdateMenu(bool State) { CLISTMENUITEM mi = { sizeof(mi) }; @@ -254,7 +254,7 @@ void UpdateMenu(BOOL State) // update the newsaggregator auto-update menu item when click on it INT_PTR EnableDisable(WPARAM, LPARAM) { - UpdateMenu(db_get_b(NULL, MODULE, "AutoUpdate", 1)); + UpdateMenu(db_get_b(NULL, MODULE, "AutoUpdate", 1) != 0); NewsAggrSetStatus(db_get_b(NULL, MODULE, "AutoUpdate", 1) ? ID_STATUS_ONLINE : ID_STATUS_OFFLINE, 0); return 0; } -- cgit v1.2.3