From 1e7f13db4500b6eb520651b44439d9ae78ca532c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 18 Oct 2013 14:34:21 +0000 Subject: XFire: compile plugin as unicode, various fixes and cleanup, version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@6516 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/Xfire_voicechat.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/Xfire/src/Xfire_voicechat.cpp') diff --git a/protocols/Xfire/src/Xfire_voicechat.cpp b/protocols/Xfire/src/Xfire_voicechat.cpp index b11f280975..ca5ffcc085 100644 --- a/protocols/Xfire/src/Xfire_voicechat.cpp +++ b/protocols/Xfire/src/Xfire_voicechat.cpp @@ -172,11 +172,11 @@ void Xfire_voicechat::writeToDatabase(SendGameStatus2Packet* packet) { //versucht die TSR zuladen HMODULE Xfire_voicechat::loadTSR(char* path,BOOL nolocaltest) { - char pathtotsr[MAX_PATH]=""; + TCHAR pathtotsr[MAX_PATH] = _T(""); /*if(path) ; was tun*/ - strcat_s(pathtotsr,MAX_PATH,"TSRemote.dll"); + _tcscat_s(pathtotsr,MAX_PATH,_T("TSRemote.dll")); //versuche dll zuladen HMODULE tsrDLL = LoadLibrary(pathtotsr); @@ -189,13 +189,13 @@ HMODULE Xfire_voicechat::loadTSR(char* path,BOOL nolocaltest) { if(nolocaltest) return NULL; //nochmal engl. lokal versuchen - tsrDLL = LoadLibrary("C:\\Program Files\\Teamspeak2_RC2\\client_sdk\\TSRemote.dll"); + tsrDLL = LoadLibrary(_T("C:\\Program Files\\Teamspeak2_RC2\\client_sdk\\TSRemote.dll")); if(!tsrDLL) { XFireLog("TSRemote.dll load faild (using standard installationpath)!"); //deutsches sys? - tsrDLL = LoadLibrary("C:\\Programme\\Teamspeak2_RC2\\client_sdk\\TSRemote.dll"); + tsrDLL = LoadLibrary(_T("C:\\Programme\\Teamspeak2_RC2\\client_sdk\\TSRemote.dll")); if(!tsrDLL) XFireLog("TSRemote.dll load failed (using standard installationpath2)!"); @@ -321,7 +321,7 @@ BOOL Xfire_voicechat::checkforMumble(SendGameStatus2Packet* packet) { return FALSE; } else { - if(!this->getPidByProcessName("mumble.exe",&this->pid)) { + if(!this->getPidByProcessName(_T("mumble.exe"),&this->pid)) { return FALSE; } } -- cgit v1.2.3