blob: edc5373c9229c0dcf255234d79f4cf1eab6222b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ac,v 1.1 2009/04/25 12:07:04 rh Exp $
--- DriversPrefs.m.orig 2005-05-13 01:58:49.000000000 +1000
+++ DriversPrefs.m
@@ -198,7 +198,7 @@ static DriversPrefs *singleInstance = ni
- (BOOL) outlineView: (NSOutlineView *)outlineView
isItemExpandable: (id) item
{
- if ([availableDrives objectForKey: ((DriversTableItem*)item)->display]) {
+ if (item && [availableDrives objectForKey: ((DriversTableItem*)item)->display]) {
return YES;
}
return NO;
|