summaryrefslogtreecommitdiff
path: root/protocols/Tlen/src/tlen_svc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-31 21:02:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-31 21:02:26 +0000
commite48bae4c6ccf1003916b3960f30816ce8aaa955b (patch)
treea69a0e638db00a3f2af4581a6440178bb9893971 /protocols/Tlen/src/tlen_svc.cpp
parent6cb654fab7272163d2330cf41de542e1ccba71c8 (diff)
- additional operator LPARAM() for _A2T & _T2A;
- we don't need StrConvA anymore; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@13952 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tlen/src/tlen_svc.cpp')
-rw-r--r--protocols/Tlen/src/tlen_svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tlen/src/tlen_svc.cpp b/protocols/Tlen/src/tlen_svc.cpp
index 005f9af3ab..915fa2d7b5 100644
--- a/protocols/Tlen/src/tlen_svc.cpp
+++ b/protocols/Tlen/src/tlen_svc.cpp
@@ -569,7 +569,7 @@ static void __cdecl TlenGetAwayMsgThread(void *ptr)
if (item != NULL) {
db_free(&dbv);
ProtoBroadcastAck(data->proto->m_szModuleName, data->hContact, ACKTYPE_AWAYMSG, ACKRESULT_SUCCESS, (HANDLE)1,
- item->statusMessage==NULL ? (LPARAM)NULL : (LPARAM)(TCHAR*)_A2T(item->statusMessage));
+ item->statusMessage == NULL ? NULL : _A2T(item->statusMessage));
} else {
ptrA ownJid(db_get_sa(NULL, data->proto->m_szModuleName, "jid"));
if (!mir_strcmp(ownJid, dbv.pszVal)){