summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_dialogs.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2016-07-29 06:41:56 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2016-07-29 06:41:56 +0000
commit17ee088fc01ea6807154f0d43d10fbf26777baa6 (patch)
tree5b0b65d9f5c33eba968c72a90d8b8f6b62de4a32 /protocols/VKontakte/src/vk_dialogs.cpp
parent04eb614c8b0b3a3a356c0d8c4104bd12c17ff622 (diff)
VKontakte:
rename string variables (p)tsz* -> (p)wsz* rename struct TCHAR_ PARAM -> WCHAR_ PARAM change mir_sntprintf -> mir_snwprintf, LPCTSTR -> LPCWSTR, setTString -> setWString, db_set_ts(a)-> db_set_ws(a) and etc. git-svn-id: http://svn.miranda-ng.org/main/trunk@17141 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_dialogs.cpp')
-rw-r--r--protocols/VKontakte/src/vk_dialogs.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/VKontakte/src/vk_dialogs.cpp b/protocols/VKontakte/src/vk_dialogs.cpp
index b043e9c242..889ded760b 100644
--- a/protocols/VKontakte/src/vk_dialogs.cpp
+++ b/protocols/VKontakte/src/vk_dialogs.cpp
@@ -120,8 +120,8 @@ void CVkWallPostForm::OnInitDialog()
{
Window_SetIcon_IcoLib(m_hwnd, GetIconHandle(IDI_WALL));
- CMString tszTitle(FORMAT, L"%s %s", TranslateT("Wall message for"), m_param->ptszNick);
- SetCaption(tszTitle);
+ CMString wszTitle(FORMAT, L"%s %s", TranslateT("Wall message for"), m_param->pwszNick);
+ SetCaption(wszTitle);
m_btnShare.Disable();
}
@@ -133,8 +133,8 @@ void CVkWallPostForm::OnDestroy()
void CVkWallPostForm::On_btnShare_Click(CCtrlButton*)
{
- m_param->ptszUrl = m_edtUrl.GetText();
- m_param->ptszMsg = m_edtMsg.GetText();
+ m_param->pwszUrl = m_edtUrl.GetText();
+ m_param->pwszMsg = m_edtMsg.GetText();
m_param->bFriendsOnly = m_cbOnlyForFriends.GetState() != 0;
EndDialog(m_hwnd, 1);
@@ -160,8 +160,8 @@ void CVkInviteChatForm::OnInitDialog()
{
for (MCONTACT hContact = db_find_first(m_proto->m_szModuleName); hContact; hContact = db_find_next(hContact, m_proto->m_szModuleName)) {
if (!m_proto->isChatRoom(hContact)) {
- wchar_t *ptszNick = pcli->pfnGetContactDisplayName(hContact, 0);
- m_cbxCombo.AddString(ptszNick, hContact);
+ wchar_t *pwszNick = pcli->pfnGetContactDisplayName(hContact, 0);
+ m_cbxCombo.AddString(pwszNick, hContact);
}
}
}