summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/buttonsbar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-27 14:23:31 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-27 14:23:31 +0000
commit2f261839b60692e33d0e160344d0d636d49c90ba (patch)
tree187921722698b681d29df3f6e60fb18394a5e9d5 /plugins/TabSRMM/src/buttonsbar.cpp
parent2e931a0b2780587d85f3902468c935f5adba70c8 (diff)
less TCHARs
git-svn-id: http://svn.miranda-ng.org/main/trunk@17138 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/buttonsbar.cpp')
-rw-r--r--plugins/TabSRMM/src/buttonsbar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/buttonsbar.cpp b/plugins/TabSRMM/src/buttonsbar.cpp
index 2e2561c2c2..b7116265d1 100644
--- a/plugins/TabSRMM/src/buttonsbar.cpp
+++ b/plugins/TabSRMM/src/buttonsbar.cpp
@@ -121,7 +121,7 @@ static INT_PTR CB_AddButton(WPARAM, LPARAM lParam)
if (bbdi->bbbFlags & BBBF_ANSITOOLTIP)
cbd->m_ptszTooltip = mir_a2u(bbdi->pszTooltip);
else
- cbd->m_ptszTooltip = mir_tstrdup(bbdi->ptszTooltip);
+ cbd->m_ptszTooltip = mir_wstrdup(bbdi->ptszTooltip);
}
else cbd->m_ptszTooltip = NULL;
@@ -314,7 +314,7 @@ static INT_PTR CB_ModifyButton(WPARAM, LPARAM lParam)
if (bbdi->bbbFlags & BBBF_ANSITOOLTIP)
cbd->m_ptszTooltip = mir_a2u(bbdi->pszTooltip);
else
- cbd->m_ptszTooltip = mir_tstrdup(bbdi->ptszTooltip);
+ cbd->m_ptszTooltip = mir_wstrdup(bbdi->ptszTooltip);
}
if (bbdi->hIcon)
cbd->m_hIcon = bbdi->hIcon;
@@ -369,7 +369,7 @@ static int SaveTree(HWND hToolBarTree)
while (tvi.hItem != NULL) {
TreeView_GetItem(hToolBarTree, &tvi);
- if (mir_tstrcmp(tvi.pszText, MIDDLE_SEPARATOR) == 0) {
+ if (mir_wstrcmp(tvi.pszText, MIDDLE_SEPARATOR) == 0) {
RSide = true;
count = TreeView_GetCount(hToolBarTree) * 10 - count;
tvi.hItem = TreeView_GetNextSibling(hToolBarTree, tvi.hItem);
@@ -708,7 +708,7 @@ INT_PTR CALLBACK DlgProcToolBar(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
tvi.mask = TVIF_TEXT | TVIF_HANDLE | TVIF_PARAM;
TreeView_GetItem(hToolBarTree, &tvi);
- if (tvi.lParam == 0 || !TreeView_GetCheckState(hToolBarTree, tvi.hItem) || !mir_tstrcmp(tvi.pszText, MIDDLE_SEPARATOR))
+ if (tvi.lParam == 0 || !TreeView_GetCheckState(hToolBarTree, tvi.hItem) || !mir_wstrcmp(tvi.pszText, MIDDLE_SEPARATOR))
break;
CustomButtonData *cbd = (CustomButtonData*)tvi.lParam;
@@ -736,7 +736,7 @@ INT_PTR CALLBACK DlgProcToolBar(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
tvi.hItem = hItem;
TreeView_GetItem(hToolBarTree, &tvi);
- if (!TreeView_GetCheckState(hToolBarTree, tvi.hItem) || !mir_tstrcmp(tvi.pszText, MIDDLE_SEPARATOR)) {
+ if (!TreeView_GetCheckState(hToolBarTree, tvi.hItem) || !mir_wstrcmp(tvi.pszText, MIDDLE_SEPARATOR)) {
Utils::enableDlgControl(hwndDlg, IDC_IMCHECK, false);
Utils::enableDlgControl(hwndDlg, IDC_CHATCHECK, false);
Utils::enableDlgControl(hwndDlg, IDC_CANBEHIDDEN, false);