diff options
Diffstat (limited to 'cocoa/TreeView.m')
-rw-r--r-- | cocoa/TreeView.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/TreeView.m b/cocoa/TreeView.m index 467668313..e67e89db4 100644 --- a/cocoa/TreeView.m +++ b/cocoa/TreeView.m @@ -44,7 +44,7 @@ static const struct treeview_table cocoa_tree_callbacks = { treeHandle = tree_create( history_global_get_tree_flags(), &cocoa_tree_callbacks, self ); if (NULL == treeHandle) { [self release]; - self = nil; + return nil; } history_global_initialise( treeHandle, "" ); return self; |