mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset accd95d7ba9d. [OS/2] fix build break following bug 488181
This commit is contained in:
parent
cf6ff7984f
commit
1b75333222
@ -214,7 +214,7 @@ nsresult nsPluginFile::LoadPlugin( PRLibrary *&outLibrary)
|
|||||||
// Obtains all of the information currently available for this plugin.
|
// Obtains all of the information currently available for this plugin.
|
||||||
nsresult nsPluginFile::GetPluginInfo( nsPluginInfo &info)
|
nsresult nsPluginFile::GetPluginInfo( nsPluginInfo &info)
|
||||||
{
|
{
|
||||||
nsresult rv = NS_ERROR_FAILURE;
|
nsresult rc = NS_ERROR_FAILURE;
|
||||||
HMODULE hPlug = 0; // Need a HMODULE to query resource statements
|
HMODULE hPlug = 0; // Need a HMODULE to query resource statements
|
||||||
char failure[ CCHMAXPATH] = "";
|
char failure[ CCHMAXPATH] = "";
|
||||||
APIRET ret;
|
APIRET ret;
|
||||||
@ -262,14 +262,14 @@ nsresult nsPluginFile::GetPluginInfo( nsPluginInfo &info)
|
|||||||
info.fFullPath = PL_strdup(path.get());
|
info.fFullPath = PL_strdup(path.get());
|
||||||
info.fFileName = PL_strdup(fileName.get());
|
info.fFileName = PL_strdup(fileName.get());
|
||||||
|
|
||||||
rv = NS_OK;
|
rc = NS_OK;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( 0 != hPlug)
|
if( 0 != hPlug)
|
||||||
DosFreeModule( hPlug);
|
DosFreeModule( hPlug);
|
||||||
|
|
||||||
return rv;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
nsresult nsPluginFile::FreePluginInfo(nsPluginInfo& info)
|
nsresult nsPluginFile::FreePluginInfo(nsPluginInfo& info)
|
||||||
|
Loading…
Reference in New Issue
Block a user