diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-15 21:13:40 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-08-16 08:25:25 +0100 |
commit | e13e72357d01f55220eefeab4e23758edf5ead19 (patch) | |
tree | 1c9e8bfe7eb6a458c5dc1996e60d2b4ec7deeb1b /desktop/hotlist.c | |
parent | 82f5cd33a0a2a9bc1507551454a5fc2011f738ef (diff) | |
download | netsurf-e13e72357d01f55220eefeab4e23758edf5ead19.tar.gz netsurf-e13e72357d01f55220eefeab4e23758edf5ead19.tar.bz2 |
Set built=false after destruction.
Diffstat (limited to 'desktop/hotlist.c')
-rw-r--r-- | desktop/hotlist.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c index 5481a38c2..a54ac070d 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -795,8 +795,6 @@ nserror hotlist_fini(const char *path) LOG(("Finalising hotlist")); - hl_ctx.built = false; - /* Save the hotlist */ err = hotlist_export(path); if (err != NSERROR_OK) { @@ -805,6 +803,7 @@ nserror hotlist_fini(const char *path) /* Destroy the hotlist treeview */ err = treeview_destroy(hl_ctx.tree); + hl_ctx.built = false; /* Free hotlist treeview entry fields */ for (i = 0; i < HL_N_FIELDS; i++) |