From: Paweł Forysiuk Date: Fri, 29 Apr 2011 17:57:39 +0000 (+0200) Subject: Use platform specific separator for res:// path X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12f353f8ea2aa817232613f312fe87832e7bce50;p=midori Use platform specific separator for res:// path --- 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;