summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-02 23:55:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-02 23:55:15 +0300
commit4882bc420186a4aef19be699e3f621dec932417d (patch)
tree4bd45d158a1a1470d590edbbb71098721d650333 /protocols/FacebookRM
parent10091bbca1380a1d8e3b9d61b8c175490036af5b (diff)
MS_SYSTEM_* services became functions
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r--protocols/FacebookRM/src/avatars.cpp2
-rw-r--r--protocols/FacebookRM/src/main.cpp2
2 files changed, 2 insertions, 2 deletions
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