Use platform specific separator for res:// path
This commit is contained in:
parent
fbbaf576f3
commit
12f353f8ea
1 changed files with 1 additions and 1 deletions
|
@ -1127,7 +1127,7 @@ midori_view_web_view_resource_request_cb (WebKitWebView* web_view,
|
|||
|
||||
if (g_str_has_prefix (uri, "res://"))
|
||||
{
|
||||
gchar* filename = g_build_filename ("midori/res", &uri[5], NULL);
|
||||
gchar* filename = g_build_filename ("midori", "res", &uri[6], NULL);
|
||||
gchar* filepath = sokoke_find_data_filename (filename);
|
||||
gchar* file_uri;
|
||||
|
||||
|
|
Loading…
Reference in a new issue