Skip to content

Commit

Permalink
Merge pull request #1353 from chocolate-doom/cfg_exedir
Browse files Browse the repository at this point in the history
save config in executable directory on Windows
  • Loading branch information
fragglet committed Feb 23, 2021
2 parents 390aebe + a0524fc commit 7d1ad9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/m_config.c
Expand Up @@ -2291,7 +2291,7 @@ static char *GetDefaultConfigDir(void)
return copy;
}
#endif /* #ifndef _WIN32 */
return M_StringDuplicate("");
return M_DirName(myargv[0]);
}

//
Expand Down

0 comments on commit 7d1ad9f

Please sign in to comment.