From 45358c3507af7d4bb32c031eaa25708905effa91 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 14 Mar 2013 21:05:30 +0000 Subject: old ansi popups removed, noone used them anyway git-svn-id: http://svn.miranda-ng.org/main/trunk@4034 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HTTPServer/src/GuiElements.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/HTTPServer') diff --git a/plugins/HTTPServer/src/GuiElements.cpp b/plugins/HTTPServer/src/GuiElements.cpp index 034a69e9dc..1e159b146f 100644 --- a/plugins/HTTPServer/src/GuiElements.cpp +++ b/plugins/HTTPServer/src/GuiElements.cpp @@ -1375,11 +1375,11 @@ int OptionsInitialize(WPARAM wParam, LPARAM /*lParam*/) { ///////////////////////////////////////////////////////////////////// void CALLBACK MainThreadCallback(ULONG_PTR dwParam) { - POPUPDATA * pclData = (POPUPDATA *)dwParam; + POPUPDATAT *pclData = (POPUPDATAT*)dwParam; if (db_get_b(NULL, MODULE, "WriteLogFile", 0) != 0) { LogEvent(pclData->lpzContactName, pclData->lpzText); } - CallService(MS_POPUP_ADDPOPUP, (WPARAM)pclData, 0); + PUAddPopUpT(pclData); delete pclData; } @@ -1446,8 +1446,8 @@ void ShowPopupWindow(const char * pszName, const char * pszText, COLORREF ColorB if (! bShowPopups) return; - POPUPDATA * pclData = new POPUPDATA; - memset(pclData, 0, sizeof(POPUPDATA)); + POPUPDATAT *pclData = new POPUPDATAT; + memset(pclData, 0, sizeof(POPUPDATAT)); pclData->lchIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_SHARE_NEW_FILE)); strncpy(pclData->lpzContactName, pszName, sizeof(pclData->lpzContactName) - 1); // -1 so that there aways will be a null termination !! strncpy(pclData->lpzText, pszText, sizeof(pclData->lpzText) - 1); -- cgit v1.2.3