summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/VKontakte/src/misc.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 9bd4ed0955..d08d6afef4 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -452,8 +452,9 @@ bool CVkProto::AutoFillForm(char *pBody, CMStringA &szAction, CMStringA& szResul
CMStringW CVkProto::RunConfirmationCode(LPCWSTR pwszTitle)
{
ENTER_STRING pForm = {};
- pForm.type = ESF_COMBO;
- pForm.caption = IsEmpty(pwszTitle) ? TranslateT("Enter confirmation code") : pwszTitle;
+ pForm.type = 0;
+ CMStringW wszTitle(FORMAT, L"%s: %s", ptrW(mir_a2u(m_szModuleName)).get(), IsEmpty(pwszTitle) ? TranslateT("Enter confirmation code") : pwszTitle);
+ pForm.caption = wszTitle;
pForm.szModuleName = m_szModuleName;
pForm.szDataPrefix = "confirmcode_";
return (!EnterString(&pForm)) ? CMStringW() : CMStringW(ptrW(pForm.ptszResult));
@@ -462,7 +463,7 @@ CMStringW CVkProto::RunConfirmationCode(LPCWSTR pwszTitle)
CMStringW CVkProto::RunRenameNick(LPCWSTR pwszOldName)
{
ENTER_STRING pForm = {};
- pForm.type = ESF_COMBO;
+ pForm.type = 0;
pForm.caption = TranslateT("Enter new nickname");
pForm.ptszInitVal = pwszOldName;
pForm.szModuleName = m_szModuleName;