From a7ba1b7ccd1178717e8e4a0546282270ed2fb1d6 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 28 Nov 2011 21:10:58 +0000 Subject: [PATCH] Fix function usage svn path=/trunk/netsurf/; revision=13190 --- desktop/hotlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/hotlist.c b/desktop/hotlist.c index 643102243..3fb6777b3 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -385,7 +385,7 @@ void hotlist_add_folder(bool selected) if (selected == true) { parent = tree_get_selected_node(tree_get_root(hotlist_tree)); - if (parent && (tree_node_is_folder == false)) { + if (parent && (tree_node_is_folder(parent) == false)) { parent = tree_node_get_parent(parent); } } @@ -418,7 +418,7 @@ void hotlist_add_entry(bool selected) if (selected == true) { parent = tree_get_selected_node(tree_get_root(hotlist_tree)); - if (parent && (tree_node_is_folder == false)) { + if (parent && (tree_node_is_folder(parent) == false)) { parent = tree_node_get_parent(parent); } }