diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-07-03 18:16:59 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-07-03 18:16:59 +0000 |
commit | 8ec882fcf4a57256daa439d85d29fcbf3a1d06af (patch) | |
tree | 22e0e9d947fbd61477e741e985cb5e406f6e97e1 /protocols/Skype/src/skype_events.cpp | |
parent | e06c4679faf776715b47e2c158490d7337ded27a (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_events.cpp')
-rw-r--r-- | protocols/Skype/src/skype_events.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_events.cpp b/protocols/Skype/src/skype_events.cpp index b75d98b0f1..3a9f8a3a99 100644 --- a/protocols/Skype/src/skype_events.cpp +++ b/protocols/Skype/src/skype_events.cpp @@ -99,10 +99,12 @@ INT_PTR __cdecl CSkypeProto::OnAccountManagerInit(WPARAM wParam, LPARAM lParam) int __cdecl CSkypeProto::OnOptionsInit(WPARAM wParam, LPARAM lParam)
{
+ char *title = ::mir_t2a(this->m_tszUserName);
+
OPTIONSDIALOGPAGE odp = {0};
odp.cbSize = sizeof(odp);
odp.hInstance = g_hInstance;
- odp.pszTitle = ::mir_t2a(this->m_tszUserName);
+ odp.pszTitle = title;
odp.dwInitParam = LPARAM(this);
odp.flags = ODPF_BOLDGROUPS;
odp.pszGroup = LPGEN("Network");
@@ -117,6 +119,7 @@ int __cdecl CSkypeProto::OnOptionsInit(WPARAM wParam, LPARAM lParam) odp.pfnDlgProc = CSkypeProto::SkypeBlockedOptionsProc;
::Options_AddPage(wParam, &odp);
+ ::mir_free(title);
return 0;
}
|