summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src/message_pump.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/TipperYM/src/message_pump.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/TipperYM/src/message_pump.cpp')
-rw-r--r--plugins/TipperYM/src/message_pump.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TipperYM/src/message_pump.cpp b/plugins/TipperYM/src/message_pump.cpp
index d19096e067..558faed14f 100644
--- a/plugins/TipperYM/src/message_pump.cpp
+++ b/plugins/TipperYM/src/message_pump.cpp
@@ -284,7 +284,7 @@ INT_PTR ShowTipW(WPARAM wParam, LPARAM lParam)
if (wParam) // wParam is char pointer containing text - e.g. status bar tooltip
{
- clcit2->swzText = mir_tstrdup((wchar_t *)wParam);
+ clcit2->swzText = mir_wstrdup((wchar_t *)wParam);
GetCursorPos(&clcit2->ptCursor);
}
@@ -316,8 +316,8 @@ int ProtoAck(WPARAM, LPARAM lParam)
if (ack->type == ACKTYPE_AWAYMSG) {
wchar_t *tszMsg = (wchar_t*)ack->lParam;
- if (mir_tstrlen(tszMsg))
- PostMPMessage(MUM_GOTSTATUS, (WPARAM)ack->hContact, (LPARAM)mir_tstrdup(tszMsg));
+ if (mir_wstrlen(tszMsg))
+ PostMPMessage(MUM_GOTSTATUS, (WPARAM)ack->hContact, (LPARAM)mir_wstrdup(tszMsg));
}
else if (ack->type == ICQACKTYPE_XSTATUS_RESPONSE)
PostMPMessage(MUM_GOTXSTATUS, (WPARAM)ack->hContact, 0);