Forgot two instances of SYSCONF_INSTALL_DIR

This commit is contained in:
Mystro256 2016-12-09 23:33:19 -05:00 committed by Zach Bacon
parent ea220b4822
commit 4a3618ef26
1 changed files with 2 additions and 2 deletions

View File

@ -422,8 +422,8 @@ FILE* sdlFindFile(const char* name)
if (f != NULL)
return f;
fprintf(stdout, "Searching system config directory: %s\n", SYSCONFDIR);
sprintf(path, "%s%c%s", SYSCONFDIR, FILE_SEP, name);
fprintf(stdout, "Searching system config directory: %s\n", SYSCONF_INSTALL_DIR);
sprintf(path, "%s%c%s", SYSCONF_INSTALL_DIR, FILE_SEP, name);
f = fopen(path, "r");
if (f != NULL)
return f;