From 22c73a4ca5c842cc18ca9b45aa4b883d59d84012 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sun, 25 Nov 2012 10:47:22 +0000 Subject: - Xfire: now works without folders and variables plugins git-svn-id: http://svn.miranda-ng.org/main/trunk@2474 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/Xfire_base.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'protocols/Xfire/src/Xfire_base.cpp') diff --git a/protocols/Xfire/src/Xfire_base.cpp b/protocols/Xfire/src/Xfire_base.cpp index a53ab04613..a3354d88f1 100644 --- a/protocols/Xfire/src/Xfire_base.cpp +++ b/protocols/Xfire/src/Xfire_base.cpp @@ -1,6 +1,7 @@ #include "stdafx.h" #include "Xfire_base.h" +#include "variables.h" //rechnet die einzelnen chars des strings zusammen BYTE Xfire_base::accStringByte(char* str){ @@ -482,11 +483,8 @@ BOOL Xfire_base::getIniPath(char*path) { //kein ziel abbruch if(!path) return FALSE; - - FoldersGetCustomPath( XFireWorkingFolder, path, MAX_PATH, "" ); - strcat_s(path,MAX_PATH,"\\"); + strcpy(path, XFireGetFoldersPath ("IniFile")); strcat_s(path,MAX_PATH,"xfire_games.ini"); - return TRUE; } @@ -494,10 +492,7 @@ BOOL Xfire_base::getIconPath(char*path) { //kein ziel abbruch if(!path) return FALSE; - - FoldersGetCustomPath( XFireIconFolder, path, MAX_PATH, "" ); - strcat_s(path,MAX_PATH,"\\"); - + strcpy(path, XFireGetFoldersPath ("IconsFile")); return TRUE; } -- cgit v1.2.3