summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/iniupdater.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-11-25 10:47:22 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-11-25 10:47:22 +0000
commit22c73a4ca5c842cc18ca9b45aa4b883d59d84012 (patch)
tree243f06609c5b1ce60e5de73e2574b34cec3fa88b /protocols/Xfire/src/iniupdater.cpp
parent211bbf191607dd8753709a30925cfd7a82149259 (diff)
- Xfire: now works without folders and variables plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@2474 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/iniupdater.cpp')
-rw-r--r--protocols/Xfire/src/iniupdater.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/Xfire/src/iniupdater.cpp b/protocols/Xfire/src/iniupdater.cpp
index 61b99884ed..7019623d98 100644
--- a/protocols/Xfire/src/iniupdater.cpp
+++ b/protocols/Xfire/src/iniupdater.cpp
@@ -4,6 +4,7 @@
#include "iniupdater.h"
#include "baseProtocol.h"
+#include "variables.h"
extern HANDLE XFireWorkingFolder;
extern HANDLE XFireIconFolder;
@@ -53,8 +54,7 @@ void UpdateMyXFireIni(LPVOID dummy) {
char file3[1024];
//ini pfad rausbekommen
- FoldersGetCustomPath( XFireWorkingFolder, file, 1024, "" );
- strcat(file,"\\");
+ strcpy(file, XFireGetFoldersPath ("IniFile"));
strcpy(file2,file);
strcpy(file3,file);
strcat(file,"xfire_games.new");
@@ -94,8 +94,7 @@ void UpdateMyIcons(LPVOID dummy) {
char file3[1024];
//ini pfad rausbekommen
- FoldersGetCustomPath( XFireIconFolder, file, 1024, "" );
- strcat(file,"\\");
+ strcpy(file,XFireGetFoldersPath ("IconsFile"));
strcpy(file2,file);
strcpy(file3,file);
strcat(file,"icons.new");