From 54368d3198f5e7c104e9497350de30c84e810def Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 14 Mar 2018 12:36:58 +0300 Subject: minor code cleaning --- src/mir_app/src/meta_services.cpp | 2 +- src/mir_app/src/meta_utils.cpp | 2 +- src/mir_app/src/metacontacts.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mir_app/src/meta_services.cpp b/src/mir_app/src/meta_services.cpp index debea67c02..f304f9452b 100644 --- a/src/mir_app/src/meta_services.cpp +++ b/src/mir_app/src/meta_services.cpp @@ -823,7 +823,7 @@ int Meta_CallMostOnline(WPARAM hContact, LPARAM) int Meta_PreShutdown(WPARAM, LPARAM) { Meta_SetStatus(ID_STATUS_OFFLINE, 0); - Meta_SuppressStatus(FALSE); + Meta_SuppressStatus(false); if (setStatusTimerId) KillTimer(nullptr, setStatusTimerId); return 0; diff --git a/src/mir_app/src/meta_utils.cpp b/src/mir_app/src/meta_utils.cpp index 28e1207d99..1ebeb71319 100644 --- a/src/mir_app/src/meta_utils.cpp +++ b/src/mir_app/src/meta_utils.cpp @@ -409,7 +409,7 @@ int Meta_HideMetaContacts(bool bHide) return 0; } -int Meta_SuppressStatus(BOOL suppress) +int Meta_SuppressStatus(bool suppress) { for (MCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact)) if (db_mc_isSub(hContact)) diff --git a/src/mir_app/src/metacontacts.h b/src/mir_app/src/metacontacts.h index be57b934ad..5c82f6cfcd 100644 --- a/src/mir_app/src/metacontacts.h +++ b/src/mir_app/src/metacontacts.h @@ -51,7 +51,7 @@ int Meta_SetNick(char *proto); int Meta_HideLinkedContacts(void); int Meta_GetContactNumber(DBCachedContact *cc, MCONTACT hContact); int Meta_HideMetaContacts(bool hide); -int Meta_SuppressStatus(int suppress); +int Meta_SuppressStatus(bool suppress); int Meta_CopyContactNick(DBCachedContact *cc, MCONTACT hContact); int Meta_SetAllNicks(); int Meta_SwapContacts(DBCachedContact *cc, int contact_number1, int contact_number2); -- cgit v1.2.3