[Xfce4-commits] <midori:master> Use platform specific separator for res:// path
Christian Dywan
noreply at xfce.org
Sun May 1 02:04:03 CEST 2011
Updating branch refs/heads/master
to 12f353f8ea2aa817232613f312fe87832e7bce50 (commit)
from fbbaf576f3b9c9ac4da0877c8770efedeee307e4 (commit)
commit 12f353f8ea2aa817232613f312fe87832e7bce50
Author: Paweł Forysiuk <tuxator at o2.pl>
Date: Fri Apr 29 19:57:39 2011 +0200
Use platform specific separator for res:// path
midori/midori-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/midori/midori-view.c b/midori/midori-view.c
index 83c058d..ad84e49 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;
More information about the Xfce4-commits
mailing list