diff options
author | rowanbeentje <rowan@beent.je> | 2010-01-09 01:38:23 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-01-09 01:38:23 +0000 |
commit | 9004533ba1d84d670a77cbfc9eae401b66e9dd0e (patch) | |
tree | 8d16781c788a964e45102b66ffc04b77fa1fb9e9 /Source/SPTableView.m | |
parent | fcb6ce6cbb0bd4179e22a3dd17dd12e4a3529cdd (diff) | |
download | sequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.tar.gz sequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.tar.bz2 sequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.zip |
- Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for release builds, including a large number of 64bit compatibility upgrades and tweaks
- Upgrade RegexKitLite to 3.3
Diffstat (limited to 'Source/SPTableView.m')
-rw-r--r-- | Source/SPTableView.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPTableView.m b/Source/SPTableView.m index a2e0c713..982c3f42 100644 --- a/Source/SPTableView.m +++ b/Source/SPTableView.m @@ -40,12 +40,12 @@ return [self menu]; // Right-click at a row will select that row before ordering out the context menu - int row = [self rowAtPoint:[self convertPoint:[event locationInWindow] fromView:nil]]; + NSInteger row = [self rowAtPoint:[self convertPoint:[event locationInWindow] fromView:nil]]; if(row >= 0 && row < [self numberOfRows]) { // Check for TablesList if right-click on header, then suppress context menu if([[[[self delegate] class] description] isEqualToString:@"TablesList"]) { - if([NSArrayObjectAtIndex([[self delegate] valueForKeyPath:@"tableTypes"], row) intValue] == -1) + if([NSArrayObjectAtIndex([[self delegate] valueForKeyPath:@"tableTypes"], row) integerValue] == -1) return nil; } if([[[[self delegate] class] description] isEqualToString:@"SPQueryFavoriteManager"]) { |