summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_misc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-04 13:32:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-04 13:32:26 +0000
commit8b8283c62cc5b8fce419fd7e0fe38c33f4457e17 (patch)
tree13754815e57a1d7a119078624077ee6ad8b07caa /protocols/MSN/src/msn_misc.cpp
parentd3087e6da133a1c0b7e6e63f4e6f54c027b9f58c (diff)
fix for MSN avatars thread hangup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13998 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_misc.cpp')
-rw-r--r--protocols/MSN/src/msn_misc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/MSN/src/msn_misc.cpp b/protocols/MSN/src/msn_misc.cpp
index 6298102415..b788bee022 100644
--- a/protocols/MSN/src/msn_misc.cpp
+++ b/protocols/MSN/src/msn_misc.cpp
@@ -385,7 +385,7 @@ void CMsnProto::MSN_GoOffline(void)
msnPreviousUUX = NULL;
msnSearchId = NULL;
- if (!Miranda_Terminated())
+ if (!g_bTerminated)
MSN_EnableMenuItems(false);
MSN_FreeGroups();
@@ -394,7 +394,7 @@ void CMsnProto::MSN_GoOffline(void)
#endif
clearCachedMsg();
- if (!Miranda_Terminated()) {
+ if (!g_bTerminated) {
int msnOldStatus = m_iStatus; m_iStatus = m_iDesiredStatus = ID_STATUS_OFFLINE;
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)msnOldStatus, ID_STATUS_OFFLINE);
isIdle = false;
@@ -1084,7 +1084,7 @@ void CALLBACK sttMainThreadCallback(PVOID dwParam)
void CMsnProto::MSN_ShowPopup(const TCHAR* nickname, const TCHAR* msg, int flags, const char* url)
{
- if (Miranda_Terminated()) return;
+ if (g_bTerminated) return;
PopupData *pud = (PopupData*)mir_calloc(sizeof(PopupData));
pud->flags = flags;