summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_options.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-13 15:15:34 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-13 15:15:34 +0000
commitf128ed55b1c6e2f2c1ec3ee691662c0702297359 (patch)
treebdacbebabb416d5a17978e8ccf605b5a2156e594 /protocols/SkypeWeb/src/skype_options.cpp
parent124f58006ce473de9dc391c7ced1f12875df080f (diff)
one more dialog fix for SkypeWeb
git-svn-id: http://svn.miranda-ng.org/main/trunk@12789 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_options.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_options.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/protocols/SkypeWeb/src/skype_options.cpp b/protocols/SkypeWeb/src/skype_options.cpp
index d7e0396113..8d94d0fc4d 100644
--- a/protocols/SkypeWeb/src/skype_options.cpp
+++ b/protocols/SkypeWeb/src/skype_options.cpp
@@ -52,21 +52,19 @@ void CSkypeOptionsMain::OnApply()
Clist_CreateGroup(0, group);
}
+/////////////////////////////////////////////////////////////////////////////////
+
int CSkypeProto::OnOptionsInit(WPARAM wParam, LPARAM)
{
- char *title = mir_t2a(m_tszUserName);
-
OPTIONSDIALOGPAGE odp = { sizeof(odp) };
odp.hInstance = g_hInstance;
- odp.pszTitle = title;
+ odp.ptszTitle = m_tszUserName;
odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR;
- odp.pszGroup = LPGEN("Network");
+ odp.ptszGroup = LPGENT("Network");
- odp.pszTab = LPGEN("Account");
+ odp.ptszTab = LPGENT("Account");
odp.pDialog = CSkypeOptionsMain::CreateOptionsPage(this);
Options_AddPage(wParam, &odp);
- mir_free(title);
-
return 0;
} \ No newline at end of file