summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu
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/Gadu-Gadu
parent10091bbca1380a1d8e3b9d61b8c175490036af5b (diff)
MS_SYSTEM_* services became functions
Diffstat (limited to 'protocols/Gadu-Gadu')
-rw-r--r--protocols/Gadu-Gadu/src/core.cpp2
-rw-r--r--protocols/Gadu-Gadu/src/popups.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/core.cpp b/protocols/Gadu-Gadu/src/core.cpp
index 421cfef1a7..000edf3ed9 100644
--- a/protocols/Gadu-Gadu/src/core.cpp
+++ b/protocols/Gadu-Gadu/src/core.cpp
@@ -441,7 +441,7 @@ retry:
hConnStopEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
dwResult = WaitForSingleObjectEx(hConnStopEvent, dwInterval, TRUE);
if ((dwResult == WAIT_OBJECT_0 && m_iDesiredStatus == ID_STATUS_OFFLINE)
- || (dwResult == WAIT_IO_COMPLETION && Miranda_Terminated()))
+ || (dwResult == WAIT_IO_COMPLETION && Miranda_IsTerminated()))
bRetry = FALSE;
CloseHandle(hConnStopEvent);
hConnStopEvent = NULL;
diff --git a/protocols/Gadu-Gadu/src/popups.cpp b/protocols/Gadu-Gadu/src/popups.cpp
index 0d68758a86..dcc88ee18c 100644
--- a/protocols/Gadu-Gadu/src/popups.cpp
+++ b/protocols/Gadu-Gadu/src/popups.cpp
@@ -151,7 +151,7 @@ void CALLBACK sttMainThreadCallback(PVOID dwParam)
void GGPROTO::showpopup(const wchar_t* nickname, const wchar_t* msg, int flags)
{
- if (Miranda_Terminated()) return;
+ if (Miranda_IsTerminated()) return;
PopupData *puData = (PopupData*)mir_calloc(sizeof(PopupData));
puData->flags = flags;