diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-02 14:42:53 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-02 14:42:53 +0100 |
commit | 46e569c481f1c5196fd90b05bd801809355f2d84 (patch) | |
tree | 17aa70b93456e4a1a60ae951d723d0e0e14e5a26 /cocoa/BookmarksController.m | |
parent | 9f35fd3fee6279f0bcd4fa0b3758548bbceaf1ab (diff) | |
download | netsurf-46e569c481f1c5196fd90b05bd801809355f2d84.tar.gz netsurf-46e569c481f1c5196fd90b05bd801809355f2d84.tar.bz2 |
Use TREE_HOTLIST directly.
Diffstat (limited to 'cocoa/BookmarksController.m')
-rw-r--r-- | cocoa/BookmarksController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/BookmarksController.m b/cocoa/BookmarksController.m index 7c1d80406..28f53b800 100644 --- a/cocoa/BookmarksController.m +++ b/cocoa/BookmarksController.m @@ -48,7 +48,7 @@ static const char *cocoa_hotlist_path( void ) { if ((self = [super initWithWindowNibName: @"BookmarksWindow"]) == nil) return nil; tree_hotlist_path = cocoa_hotlist_path(); - tree = [[Tree alloc] initWithFlags: hotlist_old_get_tree_flags()]; + tree = [[Tree alloc] initWithFlags: TREE_HOTLIST]; hotlist_old_initialise( [tree tree], cocoa_hotlist_path(), "directory.png" ); nodeForMenu = NSCreateMapTable( NSNonOwnedPointerMapKeyCallBacks, NSNonOwnedPointerMapValueCallBacks, 0 ); |