diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPTextView.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m index f9ec441e..e37b5939 100644 --- a/Source/SPTextView.m +++ b/Source/SPTextView.m @@ -3212,7 +3212,7 @@ static inline NSPoint SPPointOnLine(NSPoint a, NSPoint b, CGFloat t) { return NS [menuItem setTitle: NSLocalizedString(@"MySQL Help for Word", @"MySQL Help for Word")]; } NSUInteger stringSize = [self getRangeForCurrentWord].length; - return (stringSize || stringSize > 64); + return (0 < stringSize && stringSize < 65); // 1 ≤ stringSize ≤ 64 } // Enable Copy as RTF if something is selected if ([menuItem action] == @selector(copyAsRTF)) { |