No bug - OS/2 only - yellow on tiling should have been debug only

This commit is contained in:
mkaply%us.ibm.com 2001-09-28 23:10:27 +00:00
Родитель 329ccb52d0
Коммит ff9bb7596c
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -532,7 +532,11 @@ nsImageOS2::BuildTile (HPS hpsTile, PRUint8* pImageBits, PBITMAPINFO2 pBitmapInf
POINTL pt2 = { mInfo->cx, mInfo->cy }; // UR - ex
GFX (::GpiCreateLogColorTable (hpsTile, 0, LCOLF_RGB, 0, 0, 0), FALSE);
#ifdef DEBUG
GFX (::GpiSetColor (hpsTile, MK_RGB (255, 255, 0)), FALSE); // yellow eye-catcher
#else
GFX (::GpiSetColor (hpsTile, MK_RGB (255, 255, 255)), FALSE);
#endif
GFX (::GpiMove (hpsTile, &pt1), FALSE);
GFX (::GpiBox (hpsTile, DRO_FILL, &pt2, 0, 0), GPI_ERROR);
}