Fixing bug 76384 -- crash in the default plugin, r=serge, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@92614 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -428,9 +428,13 @@ void CPlugin::showGetPluginDialog()
|
||||
|
||||
if((m_szPageURL != NULL) || (m_szFileURL != NULL) || !m_bJavaScript)
|
||||
{
|
||||
CreateDialogParam(m_hInst, MAKEINTRESOURCE(IDD_PLUGIN_DOWNLOAD), m_hWnd,
|
||||
(DLGPROC)GetPluginDialogProc, (LPARAM)this);
|
||||
// we don't want it more than once
|
||||
if(m_hWndDialog == NULL)
|
||||
CreateDialogParam(m_hInst, MAKEINTRESOURCE(IDD_PLUGIN_DOWNLOAD), m_hWnd,
|
||||
(DLGPROC)GetPluginDialogProc, (LPARAM)this);
|
||||
}
|
||||
else
|
||||
getPlugin();
|
||||
}
|
||||
|
||||
void CPlugin::getPlugin()
|
||||
|
||||
Reference in New Issue
Block a user