From 46e569c481f1c5196fd90b05bd801809355f2d84 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 2 Sep 2013 14:42:53 +0100 Subject: Use TREE_HOTLIST directly. --- cocoa/BookmarksController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa/BookmarksController.m') 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 ); -- cgit v1.2.3