summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2016-04-13 11:24:08 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2016-04-13 11:24:08 +0000
commit9b01fa73cd3ce9483cb297cf874217b3ae2943d3 (patch)
treed442979384c22b61c05a4213afb7b571fb92d6cd /protocols/VKontakte/src
parentaa9776f3c0391abb0861e13d361276c24ea6d8d1 (diff)
VKontakte:
win64 fix warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16638 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src')
-rw-r--r--protocols/VKontakte/src/vk_options.cpp6
1 files changed, 3 insertions, 3 deletions
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);
}
}