summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/searching4games.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/searching4games.cpp')
-rw-r--r--protocols/Xfire/src/searching4games.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/Xfire/src/searching4games.cpp b/protocols/Xfire/src/searching4games.cpp
index b40a607990..27348bc926 100644
--- a/protocols/Xfire/src/searching4games.cpp
+++ b/protocols/Xfire/src/searching4games.cpp
@@ -27,7 +27,7 @@
#include "stdafx.h"
#include "baseProtocol.h"
#include "Xfire_gamelist.h"
-
+#include "variables.h"
#include <string>
using std::string;
@@ -244,8 +244,7 @@ void Scan4Games( LPVOID lparam )
mir_forkthread(ShowSearchDialog,&hwnd);
}
- FoldersGetCustomPath( XFireWorkingFolder, inipath, 1024, "" );
- strcat(inipath,"\\");
+ strcpy(inipath, XFireGetFoldersPath ("IniFile"));
strcat(inipath,"xfire_games.ini");
//erstmal db säubern