From 6bff397241ccdf668b4157c0b84d545a6de6123a Mon Sep 17 00:00:00 2001 From: "RALOVICH, Kristóf" Date: Thu, 21 Mar 2013 16:05:32 +0100 Subject: fix build under gcc 4.7.2 --- src/common.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/common.cpp') 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 "/"; } -- cgit v1.2.3