зеркало из https://github.com/mozilla/gecko-dev.git
No bug - get installer working for GCC on OS/2 - change APIs to _APIs and fix a bad variable reference
This commit is contained in:
Родитель
e4ebafaa4b
Коммит
5a63cdfb93
|
@ -4647,8 +4647,7 @@ HRESULT CheckInstances()
|
|||
|
||||
/* Process Name= key did not exist, so look for other keys */
|
||||
dwRv0 = GetPrivateProfileString(szSection, "Class Name", "", szClassName, sizeof(szClassName), szFileIniConfig);
|
||||
if((dwRv0 == 0L) &&
|
||||
(dwRv1 == 0L))
|
||||
if (dwRv0 == 0L)
|
||||
{
|
||||
bContinue = FALSE;
|
||||
}
|
||||
|
|
|
@ -98,21 +98,21 @@ HRESULT InitializeXPIStub()
|
|||
PrintError(szBuf, ERROR_CODE_SHOW);
|
||||
return(1);
|
||||
}
|
||||
if(DosQueryProcAddr(hXPIStubInst, 0, "XPI_Init", &pfnXpiInit) != NO_ERROR)
|
||||
if(DosQueryProcAddr(hXPIStubInst, 0, "_XPI_Init", &pfnXpiInit) != NO_ERROR)
|
||||
{
|
||||
sprintf(szBuf, szEDosQueryProcAddr, "XPI_Init");
|
||||
sprintf(szBuf, szEDosQueryProcAddr, "_XPI_Init");
|
||||
PrintError(szBuf, ERROR_CODE_SHOW);
|
||||
return(1);
|
||||
}
|
||||
if(DosQueryProcAddr(hXPIStubInst, 0, "XPI_Install", &pfnXpiInstall) != NO_ERROR)
|
||||
if(DosQueryProcAddr(hXPIStubInst, 0, "_XPI_Install", &pfnXpiInstall) != NO_ERROR)
|
||||
{
|
||||
sprintf(szBuf, szEDosQueryProcAddr, "XPI_Install");
|
||||
sprintf(szBuf, szEDosQueryProcAddr, "_XPI_Install");
|
||||
PrintError(szBuf, ERROR_CODE_SHOW);
|
||||
return(1);
|
||||
}
|
||||
if(DosQueryProcAddr(hXPIStubInst, 0, "XPI_Exit", &pfnXpiExit) != NO_ERROR)
|
||||
if(DosQueryProcAddr(hXPIStubInst, 0, "_XPI_Exit", &pfnXpiExit) != NO_ERROR)
|
||||
{
|
||||
sprintf(szBuf, szEDosQueryProcAddr, "XPI_Exit");
|
||||
sprintf(szBuf, szEDosQueryProcAddr, "_XPI_Exit");
|
||||
PrintError(szBuf, ERROR_CODE_SHOW);
|
||||
return(1);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче