summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/chat/tools.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-21 17:05:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-21 17:05:33 +0000
commit6ba9043d83f28cf2b6c7d10c5d5495d15de344c1 (patch)
tree40aeea3b7d6a1198647b4d896b41f725ee85c98b /plugins/Scriver/src/chat/tools.cpp
parent2072201029bdd799396b37de23410bab71cc653e (diff)
own a2t/t2a conversion routines removed from Scriver
git-svn-id: http://svn.miranda-ng.org/main/trunk@5084 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/chat/tools.cpp')
-rw-r--r--plugins/Scriver/src/chat/tools.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/Scriver/src/chat/tools.cpp b/plugins/Scriver/src/chat/tools.cpp
index b8edb1d1c5..804c347768 100644
--- a/plugins/Scriver/src/chat/tools.cpp
+++ b/plugins/Scriver/src/chat/tools.cpp
@@ -768,14 +768,14 @@ BOOL DoEventHookAsync(HWND hwnd, const TCHAR* pszID, const char* pszModule, int
return FALSE;
if ( !( si->dwFlags & GC_UNICODE )) {
- gcd->pszID = t2a( pszID );
- gch->pszUID = t2a( pszUID );
- gch->pszText = t2a( pszText );
+ gcd->pszID = mir_t2a(pszID);
+ gch->pszUID = mir_t2a(pszUID);
+ gch->pszText = mir_t2a(pszText);
}
else {
- replaceStr( &gcd->ptszID, pszID );
- replaceStr( &gch->ptszUID, pszUID);
- replaceStr( &gch->ptszText, pszText);
+ replaceStr(&gcd->ptszID, pszID);
+ replaceStr(&gch->ptszUID, pszUID);
+ replaceStr(&gch->ptszText, pszText);
}
gcd->iType = iType;
@@ -796,9 +796,9 @@ BOOL DoEventHook(const TCHAR* pszID, const char* pszModule, int iType, const TCH
return FALSE;
if ( !(si->dwFlags & GC_UNICODE)) {
- gcd.pszID = t2a(pszID);
- gch.pszUID = t2a(pszUID);
- gch.pszText = t2a(pszText);
+ gcd.pszID = mir_t2a(pszID);
+ gch.pszUID = mir_t2a(pszUID);
+ gch.pszText = mir_t2a(pszText);
}
else {
gcd.ptszID = mir_tstrdup(pszID);