Correct, complete user profile path on Windows

This commit is contained in:
Siana Gearz
2011-08-07 19:29:57 +02:00
parent 5005f4aa1d
commit 1c6d890a5a

View File

@@ -100,7 +100,7 @@ std::string AIFilePicker::get_folder(std::string const& default_path, std::strin
{
// This is the last resort when all else failed. Open the file chooser in directory 'home'.
#if LL_WINDOWS
char const* envname = "HOMEPATH";
char const* envname = "USERPROFILE";
#else
char const* envname = "HOME";
#endif