diff options
-rw-r--r-- | Source/SPTableContentDelegate.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPTableContentDelegate.m b/Source/SPTableContentDelegate.m index ac2d69ae..915b1ede 100644 --- a/Source/SPTableContentDelegate.m +++ b/Source/SPTableContentDelegate.m @@ -511,7 +511,9 @@ NSString *columnType = [columnDefinition objectForKey:@"typegrouping"]; // Find a more reliable way of doing this check - if ([columnType isEqualToString:@"binary"] && [[self tableView:tableContentView objectValueForTableColumn:tableColumn row:rowIndex] hasPrefix:@"0x"]) { + if ([columnType isEqualToString:@"binary"] && + [prefs boolForKey:SPDisplayBinaryDataAsHex] && + [[self tableView:tableContentView objectValueForTableColumn:tableColumn row:rowIndex] hasPrefix:@"0x"]) { [cell setTextColor:rowIndex == [tableContentView selectedRow] ? whiteColor : blueColor]; } |