Fixing Fizilla bustage for the meantime...

This commit is contained in:
peterlubczynski%netscape.com 2001-06-30 21:23:51 +00:00
Родитель 07ac9d2406
Коммит c8068e1b91
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -140,7 +140,7 @@ ns4xPlugin::ns4xPlugin(NPPluginFuncs* callbacks, PRLibrary* aLibrary, NP_PLUGINS
NP_MAIN pfnMain = (NP_MAIN) PR_FindSymbol(aLibrary, "main");
#else
NP_MAIN pfnMain = (NP_MAIN) PR_FindSymbol(aLibrary, "mainRD");
#endif // !TARGET_CARBON
if(pfnMain == NULL)
{
@ -159,6 +159,7 @@ ns4xPlugin::ns4xPlugin(NPPluginFuncs* callbacks, PRLibrary* aLibrary, NP_PLUGINS
{
return;
}
#endif // !TARGET_CARBON
#else // for everyone else
memcpy((void*) &fCallbacks, (void*) callbacks, sizeof(fCallbacks));
fShutdownEntry = aShutdown;

Просмотреть файл

@ -140,7 +140,7 @@ ns4xPlugin::ns4xPlugin(NPPluginFuncs* callbacks, PRLibrary* aLibrary, NP_PLUGINS
NP_MAIN pfnMain = (NP_MAIN) PR_FindSymbol(aLibrary, "main");
#else
NP_MAIN pfnMain = (NP_MAIN) PR_FindSymbol(aLibrary, "mainRD");
#endif // !TARGET_CARBON
if(pfnMain == NULL)
{
@ -159,6 +159,7 @@ ns4xPlugin::ns4xPlugin(NPPluginFuncs* callbacks, PRLibrary* aLibrary, NP_PLUGINS
{
return;
}
#endif // !TARGET_CARBON
#else // for everyone else
memcpy((void*) &fCallbacks, (void*) callbacks, sizeof(fCallbacks));
fShutdownEntry = aShutdown;