summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/variables.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-28 17:38:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-28 17:38:49 +0000
commit5e9e63c45e37917ffb0acd83832d0d8f99d01883 (patch)
tree1b674b85b1f582a13bd2a57ec73377b8989141bc /protocols/Xfire/src/variables.cpp
parent7105dcf75bdd939ca52ba045bc29c536c3f7ba49 (diff)
new macroses for MS_PROTO_CHAINRECV: ProtoChainRecv, ProtoChainRecvMsg & ProtoChainRecvFile
git-svn-id: http://svn.miranda-ng.org/main/trunk@2540 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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, "" );}