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/addgamedialog.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'protocols/Xfire/src/addgamedialog.cpp') diff --git a/protocols/Xfire/src/addgamedialog.cpp b/protocols/Xfire/src/addgamedialog.cpp index 4d3d717b8c..541d5eca30 100644 --- a/protocols/Xfire/src/addgamedialog.cpp +++ b/protocols/Xfire/src/addgamedialog.cpp @@ -1,6 +1,7 @@ #include "stdafx.h" #include "addgamedialog.h" +#include "variables.h" extern HANDLE XFireWorkingFolder; extern Xfire_gamelist xgamelist; @@ -42,9 +43,9 @@ static void FillGameList( LPVOID hwndDlg ) { //vector für doppelfilter vector dublBuffer; //Cache ist leer, Cache füllen - FoldersGetCustomPath( XFireWorkingFolder, inipath, 1024, "" ); - strcat_s(inipath,MAX_PATH,"\\"); - strcat_s(inipath,MAX_PATH,"xfire_games.ini"); + + strcpy(inipath, XFireGetFoldersPath ("IniFile")); + strcat_s(inipath, MAX_PATH, "xfire_games.ini"); //ini soll in den RAM geladen werden, fürs schnellere ausparsen FILE* f=fopen(inipath,"rb"); -- cgit v1.2.3