diff options
-rw-r--r-- | Source/CustomQuery.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m index 6bede294..2fb13265 100644 --- a/Source/CustomQuery.m +++ b/Source/CustomQuery.m @@ -1534,7 +1534,7 @@ */ - (IBAction)showHelpForCurrentWord:(id)sender { - NSString *searchString = [[textView string] substringWithRange:[textView getRangeForCurrentWord]]; + NSString *searchString = [[sender string] substringWithRange:[sender getRangeForCurrentWord]]; [self showHelpFor:searchString addToHistory:YES]; } |