summaryrefslogtreecommitdiff
path: root/external/rhino/rhino1_5R5-updateToolTip.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/rhino/rhino1_5R5-updateToolTip.patch')
-rw-r--r--external/rhino/rhino1_5R5-updateToolTip.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/rhino/rhino1_5R5-updateToolTip.patch b/external/rhino/rhino1_5R5-updateToolTip.patch
index 16857d35fca6..be0700daf6c5 100644
--- a/external/rhino/rhino1_5R5-updateToolTip.patch
+++ b/external/rhino/rhino1_5R5-updateToolTip.patch
@@ -9,7 +9,7 @@
private void updateToolTip() {
- // in case fileName is very long, try to set tool tip on frame
- Component c = getComponent(1);
-+ // Try to set tool tip on frame. On Mac OS X 10.5,
++ // Try to set tool tip on frame. On macOS 10.5,
+ // the number of components is different, so try to be safe.
+ int n = getComponentCount() - 1;
+ if (n > 1) {