diff options
Diffstat (limited to 'protocols/Xfire/src/addgamedialog.cpp')
-rw-r--r-- | protocols/Xfire/src/addgamedialog.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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<DWORD> 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");
|