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/Sametime/src/files.cpp | 2 +- protocols/Sametime/src/sametime_session.cpp | 2 +- protocols/Sametime/src/utils.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Sametime/src') diff --git a/protocols/Sametime/src/files.cpp b/protocols/Sametime/src/files.cpp index 9f035200e4..0f30f5f06f 100644 --- a/protocols/Sametime/src/files.cpp +++ b/protocols/Sametime/src/files.cpp @@ -93,7 +93,7 @@ void __cdecl SendThread(LPVOID param) { pfts.totalFiles = ftcd->first->ft_count; pfts.totalBytes = ftcd->first->totalSize; - while(SendFileChunk(proto, ft, ftcd) && !Miranda_Terminated()) { + while(SendFileChunk(proto, ft, ftcd) && !Miranda_IsTerminated()) { pfts.currentFileNumber = ftcd->ft_number; pfts.totalProgress = ftcd->sizeToHere + mwFileTransfer_getSent(ft); pfts.szWorkingDir = ftcd->save_path; diff --git a/protocols/Sametime/src/sametime_session.cpp b/protocols/Sametime/src/sametime_session.cpp index f1f595d8a7..e492bdaa94 100644 --- a/protocols/Sametime/src/sametime_session.cpp +++ b/protocols/Sametime/src/sametime_session.cpp @@ -362,7 +362,7 @@ void __cdecl KeepAliveThread(LPVOID param) SleepEx(250, TRUE); mir_cslock lck(proto->session_cs); - if (Miranda_Terminated() || !proto->session) { + if (Miranda_IsTerminated() || !proto->session) { proto->debugLogW(L"KeepAliveThread() end"); break; } diff --git a/protocols/Sametime/src/utils.cpp b/protocols/Sametime/src/utils.cpp index 321115a890..27d962a9d9 100644 --- a/protocols/Sametime/src/utils.cpp +++ b/protocols/Sametime/src/utils.cpp @@ -113,7 +113,7 @@ void CALLBACK sttMainThreadCallback(PVOID dwParam) void CSametimeProto::showPopup(const wchar_t* msg, SametimePopupEnum flag) { - if (Miranda_Terminated()) return; + if (Miranda_IsTerminated()) return; PopupData *puData = (PopupData*)mir_calloc(sizeof(PopupData)); puData->flag = flag; -- cgit v1.2.3