summaryrefslogtreecommitdiffstats
path: root/x11/yelp/files/patch-src_yelp-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/yelp/files/patch-src_yelp-window.c')
-rw-r--r--x11/yelp/files/patch-src_yelp-window.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/yelp/files/patch-src_yelp-window.c b/x11/yelp/files/patch-src_yelp-window.c
new file mode 100644
index 000000000..f21b7ca09
--- /dev/null
+++ b/x11/yelp/files/patch-src_yelp-window.c
@@ -0,0 +1,17 @@
+--- src/yelp-window.c.orig Tue Dec 30 13:24:05 2003
++++ src/yelp-window.c Tue Dec 30 13:24:34 2003
+@@ -1029,11 +1029,12 @@
+ YelpWindow *window = YELP_WINDOW (user_data);
+ YelpURI *uri;
+ GError *error = NULL;
++ gchar *frag, *page;
+
+ uri = yelp_window_get_current_uri (window);
+
+- gchar *frag = yelp_uri_get_fragment (uri);
+- gchar *page = yelp_pager_resolve_uri (pager, uri);
++ frag = yelp_uri_get_fragment (uri);
++ page = yelp_pager_resolve_uri (pager, uri);
+
+ if (!page && (frag && strcmp (frag, ""))) {
+ gchar *frag_id = yelp_uri_get_fragment (uri);