diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2014-09-23 17:24:46 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2014-09-23 17:24:46 +0200 |
commit | a7d4f433c5baa072d1645bd2ba51353651cf66e5 (patch) | |
tree | e5c588b2a6e74b14101e539ea0b0c54d857ee198 /plugingui/pluginconfig.cc | |
parent | 3916d352a8dddb53ff920d0709ab501fee5df89c (diff) |
Testing config file creation on windows XP.
Diffstat (limited to 'plugingui/pluginconfig.cc')
-rw-r--r-- | plugingui/pluginconfig.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugingui/pluginconfig.cc b/plugingui/pluginconfig.cc index 457735e..38cf616 100644 --- a/plugingui/pluginconfig.cc +++ b/plugingui/pluginconfig.cc @@ -74,13 +74,10 @@ FILE* openFilePtr(std::string mode) { szPath))); { configpath = szPath; DEBUG(config, "WINDOWS APP DATA PATH:%s\n", configpath.c_str()); -// PathAppend(szPath, "drumgizmo"); -// if(!Directory::exists(configpath)) { -// CreateDirectory(szPath, NULL); -// } } #else std::string configpath = strdup(getenv("HOME")); +#endif configpath += SEP; configpath += CONFIGDIRNAME; if(!Directory::exists(configpath)) { @@ -90,7 +87,6 @@ FILE* openFilePtr(std::string mode) { } return NULL; } -#endif FILE *fp; std::string configfile = configpath; |