diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-11-25 20:01:00 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-11-25 20:01:00 +0000 |
commit | 898dc8abf83ff483e09a4b415e1973a4afcf673f (patch) | |
tree | eacfee56ada8cd47fb16450bb8cf76d793147821 /protocols/Xfire/src | |
parent | e42418b3e1ed23a6ed027968ed9fb0a88bf20d5e (diff) |
- Xfire: correct fix for string constant variables
git-svn-id: http://svn.miranda-ng.org/main/trunk@2498 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src')
-rw-r--r-- | protocols/Xfire/src/variables.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Xfire/src/variables.cpp b/protocols/Xfire/src/variables.cpp index 07724b21c2..d7dd38b9e3 100644 --- a/protocols/Xfire/src/variables.cpp +++ b/protocols/Xfire/src/variables.cpp @@ -174,11 +174,11 @@ extern HANDLE XFireIconFolder; extern HANDLE XFireAvatarFolder;
char path[1024] = "";
if (ServiceExists(MS_FOLDERS_REGISTER_PATH)){
- if (pathtype == "Avatar"){
+ if (!strcmp(pathtype,"Avatar")){
FoldersGetCustomPath(XFireAvatarFolder, path, 1024, "" );}
- if (pathtype == "IniFile"){
+ if (!strcmp(pathtype,"IniFile")){
FoldersGetCustomPath(XFireWorkingFolder, path, 1024, "" );}
- if (pathtype == "IconsFile"){
+ if (!strcmp(pathtype,"IconsFile")){
FoldersGetCustomPath(XFireIconFolder, path, 1024, "" );}
strcat(path,"\\");
return path;
@@ -204,7 +204,7 @@ extern HANDLE XFireAvatarFolder; strcat(BaseFolder, "XFire");
strcat(BaseFolder, "\\");
/*******BASE********/
- if (pathtype == "Avatar"){
+ if (!strcmp(pathtype,"Avatar")){
strcat(BaseFolder, "Avatars");
strcat(BaseFolder, "\\");
}
|