summaryrefslogtreecommitdiff
path: root/cocoa/BookmarksController.m
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-08-15 19:38:00 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-08-16 08:25:25 +0100
commit2dc99f9ae7d48d2dc7efb502774614bae176acc0 (patch)
tree8a16be38c3ae35e87fe4c81176a0c8231d4af104 /cocoa/BookmarksController.m
parent8b83456c02fbdc738bc25b244633eb27522b9119 (diff)
downloadnetsurf-2dc99f9ae7d48d2dc7efb502774614bae176acc0.tar.gz
netsurf-2dc99f9ae7d48d2dc7efb502774614bae176acc0.tar.bz2
Allow the other front ends to use the hotlist test too.
Diffstat (limited to 'cocoa/BookmarksController.m')
-rw-r--r--cocoa/BookmarksController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/BookmarksController.m b/cocoa/BookmarksController.m
index c86562f6e..a2c5a45c3 100644
--- a/cocoa/BookmarksController.m
+++ b/cocoa/BookmarksController.m
@@ -48,7 +48,7 @@ static const char *cocoa_hotlist_path( void )
- init;
{
if ((self = [super initWithWindowNibName: @"BookmarksWindow"]) == nil) return nil;
-
+ tree_hotlist_path = cocoa_hotlist_path();
tree = [[Tree alloc] initWithFlags: hotlist_old_get_tree_flags()];
hotlist_old_initialise( [tree tree], cocoa_hotlist_path(), "directory.png" );
nodeForMenu = NSCreateMapTable( NSNonOwnedPointerMapKeyCallBacks, NSNonOwnedPointerMapValueCallBacks, 0 );