<rdar://problem/
4825370>
REGRESSION: Selecting "Look Up In Dictionary" from contextual menu fails to open the Dictionary app
* WebView/WebHTMLView.m:
(-[WebHTMLView _lookUpInDictionaryFromMenu:]):
Initialize the framework pointer to 0.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17665
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-11-08 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Oliver.
+
+ <rdar://problem/4825370>
+ REGRESSION: Selecting "Look Up In Dictionary" from contextual menu fails to open the Dictionary app
+
+ * WebView/WebHTMLView.m:
+ (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
+ Initialize the framework pointer to 0.
+
2006-11-07 Darin Adler <darin@apple.com>
Reviewed by Geoff.
typedef OSStatus (*ServiceWindowShowFunction)(id inWordString, NSRect inWordBoundary, UInt16 inLineDirection);
static ServiceWindowShowFunction dictionaryServiceWindowShow;
if (!lookedForFunction) {
- const struct mach_header *frameworkImageHeader;
+ const struct mach_header *frameworkImageHeader = 0;
dictionaryServiceWindowShow = reinterpret_cast<ServiceWindowShowFunction>(
_NSSoftLinkingGetFrameworkFuncPtr(@"ApplicationServices", @"LangAnalysis", "_DCMDictionaryServiceWindowShow", &frameworkImageHeader));
lookedForFunction = true;