summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_blocked.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-07-03 18:16:59 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-07-03 18:16:59 +0000
commit8ec882fcf4a57256daa439d85d29fcbf3a1d06af (patch)
tree22e0e9d947fbd61477e741e985cb5e406f6e97e1 /protocols/Skype/src/skype_blocked.cpp
parente06c4679faf776715b47e2c158490d7337ded27a (diff)
Skype: fixed and improved history synchronization
git-svn-id: http://svn.miranda-ng.org/main/trunk@5222 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_blocked.cpp')
-rw-r--r--protocols/Skype/src/skype_blocked.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_blocked.cpp b/protocols/Skype/src/skype_blocked.cpp
index 8bd24954d4..bf4212e9ef 100644
--- a/protocols/Skype/src/skype_blocked.cpp
+++ b/protocols/Skype/src/skype_blocked.cpp
@@ -44,12 +44,14 @@ int CSkypeProto::BlockCommand(WPARAM wParam, LPARAM lParam)
INT_PTR CSkypeProto::OpenBlockedListCommand(WPARAM, LPARAM)
{
+ char *title = ::mir_t2a(this->m_tszUserName);
OPENOPTIONSDIALOG ood;
ood.cbSize = sizeof(OPENOPTIONSDIALOG);
ood.pszGroup = "Network";
- ood.pszPage = ::mir_t2a(this->m_tszUserName);
+ ood.pszPage = title;
ood.pszTab = "Blocked contacts";
return ::Options_Open(&ood);
+ ::mir_free(title);
}
INT_PTR CALLBACK CSkypeProto::SkypeBlockProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)