зеркало из https://github.com/mozilla/pjs.git
fixing bug #26152 - changed references to "Seamonkey" and "Netscape
Seamonkey" to "Netscape 6". windows platform only. r=dveditz
This commit is contained in:
Родитель
36de63bda7
Коммит
cdc6e110cf
|
@ -3640,6 +3640,16 @@ HRESULT DecryptVariable(LPSTR szVariable, DWORD dwVariableSize)
|
|||
|
||||
wsprintf(szVariable, "Software\\Netscape\\Netscape Seamonkey\\%s", szBuf);
|
||||
}
|
||||
else if(lstrcmpi(szVariable, "Netscape6 CurrentVersion") == 0)
|
||||
{
|
||||
/* parse for the current Netscape WinReg key */
|
||||
GetWinReg(HKEY_LOCAL_MACHINE, "Software\\Netscape\\Netscape 6", "CurrentVersion", szBuf, sizeof(szBuf));
|
||||
|
||||
if(*szBuf == '\0')
|
||||
return(FALSE);
|
||||
|
||||
wsprintf(szVariable, "Software\\Netscape\\Netscape 6\\%s", szBuf);
|
||||
}
|
||||
else if(lstrcmpi(szVariable, "Mozilla Seamonkey CurrentVersion") == 0)
|
||||
{
|
||||
/* parse for the current Mozilla WinReg key */
|
||||
|
|
Загрузка…
Ссылка в новой задаче