Don't use g_strconcat when building extensions path
This commit is contained in:
parent
d426a4df9e
commit
81179e175b
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ midori_extension_activate_cb (MidoriExtension* extension,
|
||||||
strlen (filename) - strlen ("." G_MODULE_SUFFIX));
|
strlen (filename) - strlen ("." G_MODULE_SUFFIX));
|
||||||
else
|
else
|
||||||
filename = g_strdup (filename);
|
filename = g_strdup (filename);
|
||||||
folder = g_strconcat ("extensions/", filename, NULL);
|
folder = g_build_filename ("extensions", filename, NULL);
|
||||||
g_free (filename);
|
g_free (filename);
|
||||||
katze_assign (config_file,
|
katze_assign (config_file,
|
||||||
midori_paths_get_config_filename (folder, "config"));
|
midori_paths_get_config_filename (folder, "config"));
|
||||||
|
|
Loading…
Reference in a new issue