This commit is contained in:
mkaply%us.ibm.com 2001-01-09 15:30:12 +00:00
Родитель b8ac59c406
Коммит 130aed7d5d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -322,7 +322,7 @@ nsresult nsRenderingContextOS2::CommonInit()
::WinRealizePalette((HWND)mDCOwner->GetNativeData(NS_NATIVE_WINDOW),mSurface->mPS, &cclr); ::WinRealizePalette((HWND)mDCOwner->GetNativeData(NS_NATIVE_WINDOW),mSurface->mPS, &cclr);
} else if (!palInfo.isPaletteDevice && palInfo.palette) { } else if (!palInfo.isPaletteDevice && palInfo.palette) {
GpiCreateLogColorTable( mSurface->mPS, LCOL_RESET, GpiCreateLogColorTable( mSurface->mPS, LCOL_RESET,
LCOLF_CONSECRGB, palInfo.sizePalette, LCOLF_CONSECRGB, 0,
palInfo.sizePalette, (PLONG) palInfo.palette); palInfo.sizePalette, (PLONG) palInfo.palette);
} }
else else