summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/variables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/variables.cpp')
-rw-r--r--protocols/Xfire/src/variables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Xfire/src/variables.cpp b/protocols/Xfire/src/variables.cpp
index d7dd38b9e3..1ba54f6ddd 100644
--- a/protocols/Xfire/src/variables.cpp
+++ b/protocols/Xfire/src/variables.cpp
@@ -172,7 +172,7 @@ char* XFireGetFoldersPath(char * pathtype)
extern HANDLE XFireWorkingFolder;
extern HANDLE XFireIconFolder;
extern HANDLE XFireAvatarFolder;
- char path[1024] = "";
+ static char path[1024]; path[0] = 0;
if (ServiceExists(MS_FOLDERS_REGISTER_PATH)){
if (!strcmp(pathtype,"Avatar")){
FoldersGetCustomPath(XFireAvatarFolder, path, 1024, "" );}