From 12f353f8ea2aa817232613f312fe87832e7bce50 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Forysiuk?= Date: Fri, 29 Apr 2011 19:57:39 +0200 Subject: [PATCH] Use platform specific separator for res:// path --- midori/midori-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index 83c058dc..ad84e490 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -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; -- 2.39.5