One parent less to get resources in the build folder
This commit is contained in:
parent
225e13c06b
commit
708d74038f
1 changed files with 1 additions and 1 deletions
|
@ -1344,7 +1344,7 @@ midori_app_find_res_filename (const gchar* filename)
|
||||||
|
|
||||||
/* Fallback to build folder */
|
/* Fallback to build folder */
|
||||||
path = g_build_filename (g_file_get_path (g_file_get_parent (
|
path = g_build_filename (g_file_get_path (g_file_get_parent (
|
||||||
g_file_get_parent (g_file_get_parent (g_file_new_for_path (exec_path))))),
|
g_file_get_parent (g_file_new_for_path (exec_path)))),
|
||||||
"data", filename, NULL);
|
"data", filename, NULL);
|
||||||
if (g_access (path, F_OK) == 0)
|
if (g_access (path, F_OK) == 0)
|
||||||
return path;
|
return path;
|
||||||
|
|
Loading…
Reference in a new issue