summaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <tade60@freemail.hu>2013-03-21 16:05:32 +0100
committerRALOVICH, Kristóf <tade60@freemail.hu>2013-03-21 16:05:32 +0100
commit6bff397241ccdf668b4157c0b84d545a6de6123a (patch)
tree99168d6790b08a4b541c5f6053b09449b0a7bd82 /src/common.cpp
parente0578c6cdd571e33cb4bbf5c602497c3b51f1c1d (diff)
fix build under gcc 4.7.2
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common.cpp b/src/common.cpp
index 9ca101c..93fa74c 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -154,16 +154,16 @@ getConfigFolder()
const char* e1 = getenv("XDG_CONFIG_HOME");
const char* e2 = getenv("HOME");
if(e1 && strlen(e1) > 0)
- return std::string(e1) + "/"APP_NAME"/";
+ return std::string(e1) + "/" APP_NAME "/";
else if(e2 && strlen(e2) > 0)
- return std::string(e2) + "/.config/"APP_NAME"/";
+ return std::string(e2) + "/.config/" APP_NAME "/";
#else
const char* e3 = getenv("USERPROFILE");
if(e3 && strlen(e3) > 0)
- return std::string(e3) + "/.config/"APP_NAME"/";
+ return std::string(e3) + "/.config/" APP_NAME"/";
#endif
else
- return "~/.config/"APP_NAME"/";
+ return "~/.config/" APP_NAME "/";
}