зеркало из https://github.com/mozilla/gecko-dev.git
Addressing bug #5978
This commit is contained in:
Родитель
2af90e005b
Коммит
844b044920
|
@ -294,7 +294,7 @@ nsresult nsPluginFile::GetPluginInfo(nsPluginInfo& info)
|
|||
|
||||
if(::GetFileVersionInfo((char*)path, NULL, versionsize, verbuf))
|
||||
{
|
||||
info.fName = GetFileName(path);
|
||||
info.fName = GetKeyValue(verbuf, "\\StringFileInfo\\040904E4\\ProductName");
|
||||
info.fDescription = GetKeyValue(verbuf, "\\StringFileInfo\\040904E4\\FileDescription");
|
||||
|
||||
info.fMimeType = GetKeyValue(verbuf, "\\StringFileInfo\\040904E4\\MIMEType");
|
||||
|
|
|
@ -294,7 +294,7 @@ nsresult nsPluginFile::GetPluginInfo(nsPluginInfo& info)
|
|||
|
||||
if(::GetFileVersionInfo((char*)path, NULL, versionsize, verbuf))
|
||||
{
|
||||
info.fName = GetFileName(path);
|
||||
info.fName = GetKeyValue(verbuf, "\\StringFileInfo\\040904E4\\ProductName");
|
||||
info.fDescription = GetKeyValue(verbuf, "\\StringFileInfo\\040904E4\\FileDescription");
|
||||
|
||||
info.fMimeType = GetKeyValue(verbuf, "\\StringFileInfo\\040904E4\\MIMEType");
|
||||
|
|
Загрузка…
Ссылка в новой задаче