Fix up for nsurl changes. Untested.

svn path=/trunk/netsurf/; revision=12931
This commit is contained in:
Michael Drake 2011-10-03 16:51:46 +00:00
parent 817841eab3
commit 231dfe5887

View File

@ -877,7 +877,7 @@ void nsbeos_gui_view_source(struct hlcache_handle *content, struct selection *se
}
/* try to load local files directly. */
temp_name = url_to_path(content_get_url(content));
temp_name = url_to_path(nsurl_access(content_get_url(content)));
if (temp_name) {
path.SetTo(temp_name);
BEntry entry;