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/FacebookRM/src/avatars.cpp | 2 +- protocols/FacebookRM/src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/FacebookRM') diff --git a/protocols/FacebookRM/src/avatars.cpp b/protocols/FacebookRM/src/avatars.cpp index 14d8d6030b..3f4c3852d5 100644 --- a/protocols/FacebookRM/src/avatars.cpp +++ b/protocols/FacebookRM/src/avatars.cpp @@ -98,7 +98,7 @@ void FacebookProto::UpdateAvatarWorker(void *) PROTO_AVATAR_INFORMATION ai = { 0 }; ai.hContact = avatar_queue[0]; - if (Miranda_Terminated()) + if (Miranda_IsTerminated()) { debugLogA("*** Terminating avatar update early: %s", url.c_str()); break; diff --git a/protocols/FacebookRM/src/main.cpp b/protocols/FacebookRM/src/main.cpp index 77c280e9af..dd4a7b11c6 100644 --- a/protocols/FacebookRM/src/main.cpp +++ b/protocols/FacebookRM/src/main.cpp @@ -105,7 +105,7 @@ extern "C" int __declspec(dllexport) Load(void) // Init native User-Agent WORD v[4]; - CallService(MS_SYSTEM_GETFILEVERSION, 0, (LPARAM)v); + Miranda_GetFileVersion(&v); std::stringstream agent; agent << "Miranda NG/" << v[0] << "." << v[1] << "." << v[2]; #ifdef _WIN64 -- cgit v1.2.3