option: Add // to the end of default &directory

This commit is contained in:
ZyX
2015-10-17 21:46:30 +03:00
parent aadaa1fed4
commit a82a059921
3 changed files with 17 additions and 7 deletions

View File

@@ -1591,7 +1591,7 @@ static const char *shada_get_default_file(void)
FUNC_ATTR_WARN_UNUSED_RESULT
{
if (default_shada_file == NULL) {
char *shada_dir = stdpaths_user_data_subpath("shada");
char *shada_dir = stdpaths_user_data_subpath("shada", 0);
default_shada_file = concat_fnames_realloc(shada_dir, "main.shada", true);
}
return default_shada_file;