summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/Xfire_voicechat.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-10-18 14:34:21 +0000
committerRobert Pösel <robyer@seznam.cz>2013-10-18 14:34:21 +0000
commit1e7f13db4500b6eb520651b44439d9ae78ca532c (patch)
tree927a0a7d51477ddc7d442221726562c858dc90c4 /protocols/Xfire/src/Xfire_voicechat.cpp
parentc225876c8534502f20d55f22f2d07ce729590bcd (diff)
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
Diffstat (limited to 'protocols/Xfire/src/Xfire_voicechat.cpp')
-rw-r--r--protocols/Xfire/src/Xfire_voicechat.cpp10
1 files changed, 5 insertions, 5 deletions
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;
}
}