Author: tlsa
Date: Thu Sep 23 10:57:27 2010
New Revision: 10826
URL:
http://source.netsurf-browser.org?rev=10826&view=rev
Log:
Fix core for front ends that don't implement a hotlist.
Modified:
branches/jmb/treeview-redux/desktop/hotlist.c
Modified: branches/jmb/treeview-redux/desktop/hotlist.c
URL:
http://source.netsurf-browser.org/branches/jmb/treeview-redux/desktop/hot...
==============================================================================
--- branches/jmb/treeview-redux/desktop/hotlist.c (original)
+++ branches/jmb/treeview-redux/desktop/hotlist.c Thu Sep 23 10:57:27 2010
@@ -167,7 +167,8 @@
*/
void hotlist_visited(hlcache_handle *content)
{
- hotlist_visited_internal(content, tree_get_root(hotlist_tree));
+ if (hotlist_tree)
+ hotlist_visited_internal(content, tree_get_root(hotlist_tree));
}