summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2021-03-25 11:17:57 +0500
committerElzorFox <elzorfox@ya.ru>2021-03-25 11:17:57 +0500
commitf1fa87fe7200c11fefbab51a6aa373c0b0aa36f5 (patch)
treeb4e473c58bd3e34003b8c5b1370358bfd5e26a01 /protocols
parentb682217c769d54b073b5052c9e458dbd81722274 (diff)
VKontakte: cosmetic fix for confirmation code window
Diffstat (limited to 'protocols')
-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;