From c4c823a7af99c9d4267110bc65d5471df7088483 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Fri, 28 Sep 2001 23:10:27 +0000 Subject: [PATCH] No bug - OS/2 only - yellow on tiling should have been debug only git-svn-id: svn://10.0.0.236/trunk@104157 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/os2/nsImageOS2.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/gfx/src/os2/nsImageOS2.cpp b/mozilla/gfx/src/os2/nsImageOS2.cpp index 49795c1948a..e5c1556b43a 100644 --- a/mozilla/gfx/src/os2/nsImageOS2.cpp +++ b/mozilla/gfx/src/os2/nsImageOS2.cpp @@ -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); }