diff --git a/dspci/DataTypeHandler.m b/dspci/DataTypeHandler.m index 9fe41a9..c9815b7 100644 --- a/dspci/DataTypeHandler.m +++ b/dspci/DataTypeHandler.m @@ -367,7 +367,7 @@ - (NSArray *) listGraphics { IORegistryEntryGetParentEntry(service, kIOServicePlane, &parent); IORegistryEntryGetRegistryEntryID(parent, &new); if (card && new!=old){ - [card setObject:@(ports) forKey:@"ports"]; + [card setObject:@(ports) forKey:@"Ports"]; [temp addObject:[card copy]]; card = nil; ports = 0; @@ -403,7 +403,7 @@ - (NSArray *) listGraphics { IORegistryEntryGetParentEntry(service, kIOServicePlane, &parent); IORegistryEntryGetRegistryEntryID(parent, &new); if (card && new != old){ - [card setObject:@(ports) forKey:@"ports"]; + [card setObject:@(ports) forKey:@"Ports"]; [temp addObject:[card copy]]; card = nil; ports = 0;