]> spindle.queued.net Git - midori/commitdiff
Use platform specific separator for res:// path
authorPaweł Forysiuk <tuxator@o2.pl>
Fri, 29 Apr 2011 17:57:39 +0000 (19:57 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 30 Apr 2011 23:05:22 +0000 (01:05 +0200)
midori/midori-view.c

index 83c058dc9948cc1b834db2552ca77927ceb84ad4..ad84e4904c1e60edc717151c287c994d75919b8a 100644 (file)
@@ -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;