Skip to content
Permalink
Browse files

Merge branch 'master' of https://github.com/chocolate-doom/chocolate-…

  • Loading branch information...
fabiangreffrath committed Oct 8, 2019
2 parents c9ff108 + d1c94b4 commit b5019be8d010dc6ccf84c441c4bb26262675e77c
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/m_config.c
@@ -2631,11 +2631,14 @@ static char *GetDefaultConfigDir(void)
// Vanilla Doom and save in the current directory.

char *result;
char *copy;

result = SDL_GetPrefPath("", PACKAGE_TARNAME);
if (result != NULL)
{
return result;
copy = M_StringDuplicate(result);
SDL_free(result);
return copy;
}
#endif /* #ifndef _WIN32 */
return M_StringDuplicate("");

0 comments on commit b5019be

Please sign in to comment.
You can’t perform that action at this time.