summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/browser/badconnect.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-09-05 07:29:15 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-09-05 07:29:15 +0000
commitbe1bd05cee00200ae16000abfb5c690261ea3420 (patch)
tree051d32ea0cd0a14e794c2c625013b78394f0b1f0 /plugins/YAMN/src/browser/badconnect.cpp
parent8527a46feb7089912c124a9d797be14fcc429545 (diff)
YAMN:
- Fixed: "No Mail" popups were using "Mail" popup colors after r15160 - minor cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@15247 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAMN/src/browser/badconnect.cpp')
-rw-r--r--plugins/YAMN/src/browser/badconnect.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/YAMN/src/browser/badconnect.cpp b/plugins/YAMN/src/browser/badconnect.cpp
index d4d0c8948b..1285571205 100644
--- a/plugins/YAMN/src/browser/badconnect.cpp
+++ b/plugins/YAMN/src/browser/badconnect.cpp
@@ -56,7 +56,7 @@ LRESULT CALLBACK BadConnectPopupProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM
else
DebugLog(SynchroFile,"PopupProc:LEFTCLICK:ActualAccountSO-read enter failed\n");
#endif
- SendMessage(hWnd, UM_DESTROYPOPUP, 0, 0);
+ PUDeletePopup(hWnd);
}
break;
@@ -68,7 +68,7 @@ LRESULT CALLBACK BadConnectPopupProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM
//This is the equivalent to WM_INITDIALOG you'd get if you were the maker of dialog popups.
break;
case WM_CONTEXTMENU:
- SendMessage(hWnd, UM_DESTROYPOPUP, 0, 0);
+ PUDeletePopup(hWnd);
break;
}
return DefWindowProc(hWnd, msg, wParam, lParam);
@@ -216,13 +216,12 @@ void __cdecl BadConnection(void *Param)
MSG msg;
HWND hBadConnect;
HACCOUNT ActualAccount;
- struct BadConnectionParam MyParam;
NOTIFYICONDATA nid;
char *NotIconText = Translate(" - connection error"), *src;
TCHAR *dest;
int i;
- MyParam = *(struct BadConnectionParam *)Param;
+ struct BadConnectionParam MyParam = *(struct BadConnectionParam *)Param;
ActualAccount = MyParam.account;
#ifdef DEBUG_SYNCHRO
DebugLog(SynchroFile,"BadConnect:Incrementing \"using threads\" %x (account %x)\n",ActualAccount->UsingThreads,ActualAccount);