Fixed a bug with the call to nsGetFactory().
git-svn-id: svn://10.0.0.236/branches/OJI_19980618_BRANCH@4290 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -941,7 +941,7 @@ FE_LoadPlugin(void *pdesc, NPNetscapeFuncs *funcs, np_handle* handle)
|
||||
|
||||
static NS_DEFINE_IID(kIPluginIID, NS_IPLUGIN_IID);
|
||||
nsIPlugin* userPlugin = NULL;
|
||||
nsresult err = nsGetFactory(kIPluginIID, (nsIFactory**)&plugin);
|
||||
nsresult err = nsGetFactory(kIPluginIID, (nsIFactory**)&userPlugin);
|
||||
|
||||
handle->userPlugin = userPlugin;
|
||||
plugin->handle = handle;
|
||||
|
||||
Reference in New Issue
Block a user