diff -up yelp-2.20.0/src/yelp-window.c.rarian-crash yelp-2.20.0/src/yelp-window.c --- yelp-2.20.0/src/yelp-window.c.rarian-crash 2007-11-04 22:50:04.000000000 -0500 +++ yelp-2.20.0/src/yelp-window.c 2007-11-04 22:51:25.000000000 -0500 @@ -1584,9 +1584,9 @@ window_do_load_html (YelpWindow *wind goto done; } - base_uri = g_filename_to_uri (real_uri, NULL, NULL); + base_uri = g_filename_to_uri (uri, NULL, NULL); if (frag_id) { - real_uri = g_strconcat (base_uri, "#", frag_id); + real_uri = g_strconcat (base_uri, "#", frag_id, NULL); g_free (base_uri); } else { real_uri = base_uri;