diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-14 12:36:58 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-14 12:36:58 +0300 |
commit | 54368d3198f5e7c104e9497350de30c84e810def (patch) | |
tree | dd32e781ef981abb9ca01201ed6b0a2e3b4f23fc /src | |
parent | e70286c0f7b4fd9a20b5496adf7988cc2e368cad (diff) |
minor code cleaning
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/meta_services.cpp | 2 | ||||
-rw-r--r-- | src/mir_app/src/meta_utils.cpp | 2 | ||||
-rw-r--r-- | 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);
|