From 4882bc420186a4aef19be699e3f621dec932417d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 2 Dec 2016 23:55:15 +0300 Subject: MS_SYSTEM_* services became functions --- protocols/Tox/src/tox_proto.cpp | 2 +- protocols/Tox/src/tox_utils.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Tox') diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp index d249a59a86..7efbe6c7a6 100644 --- a/protocols/Tox/src/tox_proto.cpp +++ b/protocols/Tox/src/tox_proto.cpp @@ -157,7 +157,7 @@ int CToxProto::SetStatus(int iNewStatus) toxThread = NULL; } - if (!Miranda_Terminated()) + if (!Miranda_IsTerminated()) { SetAllContactsStatus(ID_STATUS_OFFLINE); CloseAllChatChatSessions(); diff --git a/protocols/Tox/src/tox_utils.cpp b/protocols/Tox/src/tox_utils.cpp index 009c32b867..c8fb9e6b2b 100644 --- a/protocols/Tox/src/tox_utils.cpp +++ b/protocols/Tox/src/tox_utils.cpp @@ -105,7 +105,7 @@ wchar_t* CToxProto::ToxErrorToString(TOX_ERR_FRIEND_SEND_MESSAGE error) void CToxProto::ShowNotification(const wchar_t *caption, const wchar_t *message, int flags, MCONTACT hContact) { - if (Miranda_Terminated()) + if (Miranda_IsTerminated()) { return; } -- cgit v1.2.3