From 8897fbb7a6b6edabb5f262458c9a679b37a39f13 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sat, 8 Mar 2014 13:48:06 +0000 Subject: MRA Fix: blog status icon in set blog status window git-svn-id: http://svn.miranda-ng.org/main/trunk@8477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/src/Mra_functions.cpp | 2 +- protocols/MRA/src/Mra_proto.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'protocols/MRA/src') diff --git a/protocols/MRA/src/Mra_functions.cpp b/protocols/MRA/src/Mra_functions.cpp index e906bf4315..bffef4519d 100644 --- a/protocols/MRA/src/Mra_functions.cpp +++ b/protocols/MRA/src/Mra_functions.cpp @@ -1106,7 +1106,7 @@ INT_PTR CALLBACK SendReplyBlogStatusDlgProc(HWND hWndDlg, UINT message, WPARAM w mir_subclassWindow(GetDlgItem(hWndDlg, IDC_MSG_TO_SEND), MessageEditSubclassProc); SendMessage(hWndEdit, EM_LIMITTEXT, MICBLOG_STATUS_MAX, 0); - SendMessage(hWndDlg, WM_SETICON, ICON_BIG, (LPARAM)IconLibGetIcon(gdiMenuItems[5].hIcolib)); + SendMessage(hWndDlg, WM_SETICON, ICON_BIG, (LPARAM)IconLibGetIcon(gdiMenuItems[4].hIcolib)); // blog status message CMStringW szBuff; diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp index 46c35bd337..b243c3efae 100644 --- a/protocols/MRA/src/Mra_proto.cpp +++ b/protocols/MRA/src/Mra_proto.cpp @@ -52,6 +52,9 @@ void CMraProto::MraThreadProc(LPVOID lpParameter) InterlockedExchange((volatile LONG*)&m_dwThreadWorkerLastPingTime, GetTickCount()); if (MraGetNLBData(szHost, &nloc.wPort) == NO_ERROR) { nloc.szHost = szHost; + //nloc.szHost = "217.69.141.245"; + //nloc.wPort = 443; + //nloc.flags |= NLOCF_SSL; dwCurConnectReTryCount = dwConnectReTryCount; do { InterlockedExchange((volatile LONG*)&m_dwThreadWorkerLastPingTime, GetTickCount()); -- cgit v1.2.3