projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
544035e
)
macOS: Fix GVAttributeInspectorController.m warning with Xcode 10
author
Brendan Shanks
<brendan@bslabs.net>
Sat, 15 Dec 2018 07:25:50 +0000
(23:25 -0800)
committer
Brendan Shanks
<brendan@bslabs.net>
Tue, 18 Dec 2018 02:54:33 +0000
(18:54 -0800)
macosx/GVAttributeInspectorController.m
patch
|
blob
|
history
diff --git
a/macosx/GVAttributeInspectorController.m
b/macosx/GVAttributeInspectorController.m
index cf6c81f2cc2424990358c82c24e7f4b3f214e094..c6ed26bde6121467d7a93db41851ad8234f813d7 100644
(file)
--- a/
macosx/GVAttributeInspectorController.m
+++ b/
macosx/GVAttributeInspectorController.m
@@
-118,7
+118,7
@@
- (void)tableViewSelectionDidChange:(NSNotification *)aNotification
{
-
int
selectedRow = [[aNotification object] selectedRow];
+
NSInteger
selectedRow = [[aNotification object] selectedRow];
NSString* documentation = selectedRow == -1 ? nil : [[[_allSchemas objectForKey:[componentToolbar selectedItemIdentifier]] objectAtIndex: selectedRow] documentation];
[[documentationWeb mainFrame] loadHTMLString:documentation baseURL:[NSURL URLWithString:@"http://www.graphviz.org/"]];
}