option: Also escape commas in options other then &runtimepath

This commit is contained in:
ZyX
2016-06-26 18:16:23 +03:00
parent 1a92585e32
commit 5fc72882cc
3 changed files with 27 additions and 12 deletions

View File

@@ -1524,7 +1524,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", 0);
char *shada_dir = stdpaths_user_data_subpath("shada", 0, false);
default_shada_file = concat_fnames_realloc(shada_dir, "main.shada", true);
}
return default_shada_file;