Skip to content

Commit

Permalink
Merge pull request #2416 from DennisHeimbigner/homedir.dmh
Browse files Browse the repository at this point in the history
Fix choice of HOME dir
  • Loading branch information
WardF authored Jun 21, 2022
2 parents 7eeb3f8 + 7a22b7c commit 6d55794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libdispatch/ddispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ NCDISPATCH_initialize(void)
/* Capture $HOME */
{
#if defined(_WIN32) && !defined(__MINGW32__)
char* home = getenv("HOME");
#else
char* home = getenv("USERPROFILE");
#else
char* home = getenv("HOME");
#endif
if(home == NULL) {
/* use cwd */
Expand Down

0 comments on commit 6d55794

Please sign in to comment.