From 9b01fa73cd3ce9483cb297cf874217b3ae2943d3 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Wed, 13 Apr 2016 11:24:08 +0000 Subject: VKontakte: win64 fix warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16638 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols') diff --git a/protocols/VKontakte/src/vk_options.cpp b/protocols/VKontakte/src/vk_options.cpp index 141d3a70f9..3c4ce9dd92 100644 --- a/protocols/VKontakte/src/vk_options.cpp +++ b/protocols/VKontakte/src/vk_options.cpp @@ -151,7 +151,7 @@ CVkOptionAccountForm::CVkOptionAccountForm(CVkProto *proto): m_cbxSyncHistory(this, IDC_COMBO_SYNCHISTORY) { CreateLink(m_edtLogin, "Login", _T("")); - CreateLink(m_edtGroupName, m_proto->m_vkOptions.ptszDefaultGroup); + CreateLink(m_edtGroupName, "ProtoGroup", _T("VKontakte")); CreateLink(m_cbDelivery, m_proto->m_vkOptions.bServerDelivery); CreateLink(m_cbUseLocalTime, m_proto->m_vkOptions.bUseLocalTime); CreateLink(m_cbAutoClean, m_proto->m_vkOptions.bAutoClean); @@ -181,9 +181,9 @@ void CVkOptionAccountForm::OnInitDialog() } for (size_t i = 0; i < _countof(vkLangCodes); i++) { - m_cbxVKLang.AddString(TranslateTS(vkLangCodes[i].szDescription), (LPARAM)vkLangCodes[i].szCode); + int cur = m_cbxVKLang.AddString(TranslateTS(vkLangCodes[i].szDescription), (LPARAM)vkLangCodes[i].szCode); if (!mir_tstrcmpi(vkLangCodes[i].szCode, m_proto->m_vkOptions.ptszVKLang)) - m_cbxVKLang.SetCurSel(i); + m_cbxVKLang.SetCurSel(cur); } } -- cgit v1.2.3