[tool_parsecfg]: fallback to UserProfile on Windows

This commit is contained in:
Max Bossing 2025-08-09 16:30:17 +02:00
parent 9eec5a4f04
commit fdf6b5d4ef

View file

@ -211,7 +211,7 @@ int parseconfig(const char *filename)
if(param && param[0] == '~') {
#ifdef _WIN32
const char *home = curl_getenv("UserProfile");
#elif
#else
const char *home = curl_getenv("HOME");
#endif
if(home) {