summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2014-08-05 20:38:35 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2014-08-05 20:38:35 +0200
commit121f3eacaf0e703744a678e565d33b30f9abdf85 (patch)
tree61eab62c87dcc8a75033d790783473759fb4e333
parentc2eb6898f474ac018b649e28a73efa5deef1731c (diff)
Fixing windows.
-rw-r--r--plugingui/pluginconfig.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugingui/pluginconfig.cc b/plugingui/pluginconfig.cc
index 94ca900..6bd4913 100644
--- a/plugingui/pluginconfig.cc
+++ b/plugingui/pluginconfig.cc
@@ -73,10 +73,10 @@ FILE* openFilePtr(std::string mode) {
0,
szPath))); {
DEBUG(config, "WINDOWS APP DATA PATH:%s\n", szPath);
-// PathAppend(szPath, TEXT(CONFIGDIRNAME));
- if(!Directory::exists(configpath)) {
- CreateDirectory(szPath, NULL);
- }
+ PathAppend(szPath, TEXT(CONFIGDIRNAME));
+// if(!Directory::exists(configpath)) {
+// CreateDirectory(szPath, NULL);
+// }
}
#else
std::string configpath = strdup(getenv("HOME"));