зеркало из https://github.com/mozilla/pjs.git
Added group arg back for necko.
This commit is contained in:
Родитель
a78cd1e21b
Коммит
8ec724a5ef
|
@ -199,11 +199,7 @@ MyLoadImage(char *aFileName)
|
|||
if (gImageGroup == NULL) {
|
||||
nsIDeviceContext *deviceCtx = gWindow->GetDeviceContext();
|
||||
if (NS_NewImageGroup(&gImageGroup) != NS_OK ||
|
||||
#ifndef NECKO
|
||||
gImageGroup->Init(deviceCtx, nsnull) != NS_OK)
|
||||
#else
|
||||
gImageGroup->Init(deviceCtx) != NS_OK)
|
||||
#endif // NECKO
|
||||
{
|
||||
::MessageBox(NULL, "Couldn't create image group",
|
||||
class1Name, MB_OK);
|
||||
|
|
Загрузка…
Ссылка в новой задаче