Use fill_pathname_join() for default config.

This commit is contained in:
Themaister 2013-04-28 23:19:51 +02:00
parent afdb661f21
commit f0f925915d

View File

@ -319,7 +319,7 @@ static config_file_t *open_default_config_file(void)
const char *appdata = getenv("APPDATA");
if (appdata)
{
snprintf(conf_path, sizeof(conf_path), "%s\\retroarch.cfg", appdata);
fill_pathname_join(conf_path, appdata, "retroarch.cfg", sizeof(conf_path));
conf = config_file_new(conf_path);
}
}