summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-08-28 11:05:21 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-08-28 11:05:21 +0100
commita61e74714d99e7693f41a2148868563abca05659 (patch)
treeb94659724cb782eacf75c92cbce762c3396d7370
parenteec80c561c8deb5b8b49bf6820fc171cccd5e82b (diff)
downloadnetsurf-a61e74714d99e7693f41a2148868563abca05659.tar.gz
netsurf-a61e74714d99e7693f41a2148868563abca05659.tar.bz2
Give export walk ctx clearer name.
-rw-r--r--desktop/hotlist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c
index 581075cdf..ae25e3fd6 100644
--- a/desktop/hotlist.c
+++ b/desktop/hotlist.c
@@ -838,14 +838,14 @@ static nserror hotlist_generate(void)
}
-struct treeview_walk_ctx {
+struct treeview_export_walk_ctx {
FILE *fp;
};
/** Callback for treeview_walk node entering */
static nserror hotlist_export_enter_cb(void *ctx, void *node_data,
enum treeview_node_type type, bool *abort)
{
- struct treeview_walk_ctx *tw = ctx;
+ struct treeview_export_walk_ctx *tw = ctx;
if (type == TREE_NODE_ENTRY) {
struct hotlist_entry *e = node_data;
@@ -897,7 +897,7 @@ static nserror hotlist_export_enter_cb(void *ctx, void *node_data,
static nserror hotlist_export_leave_cb(void *ctx, void *node_data,
enum treeview_node_type type, bool *abort)
{
- struct treeview_walk_ctx *tw = ctx;
+ struct treeview_export_walk_ctx *tw = ctx;
if (type == TREE_NODE_FOLDER) {
fputs("</ul>\n", tw->fp);
@@ -908,7 +908,7 @@ static nserror hotlist_export_leave_cb(void *ctx, void *node_data,
/* Exported interface, documented in hotlist.h */
nserror hotlist_export(const char *path, const char *title)
{
- struct treeview_walk_ctx tw;
+ struct treeview_export_walk_ctx tw;
nserror err;
FILE *fp;