get proper user home dir on WIN32 and adjust folders in this case a bit

This commit is contained in:
Andrzej Rybczak
2009-03-26 20:23:47 +01:00
parent a670be05fe
commit 49a13222a3
6 changed files with 26 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ using std::string;
using std::vector;
#ifdef HAVE_CURL_CURL_H
const std::string Info::Folder = home_folder + "/.ncmpcpp/artists";
const std::string Info::Folder = home_path + HOME_FOLDER"artists";
bool Info::ArtistReady = 0;
#ifdef HAVE_PTHREAD_H