Author: jimtabor
Date: Mon Jun 30 22:39:12 2008
New Revision: 34228
URL: 
http://svn.reactos.org/svn/reactos?rev=34228&view=rev
Log:
Attempt to fix set palette issue. See bug 733.
Modified:
    trunk/reactos/subsystems/win32/win32k/objects/color.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/color.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/color.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/color.c [iso-8859-1] Mon Jun 30 22:39:12
2008
@@ -555,13 +555,14 @@
        success = ((GDIDEVICE *)dc->pPDev)->DriverFunctions.SetPalette(
                dc->PDev, sysPtr, 0, 0, sysGDI->NumColors);
-  } else {
+/* See bug 733, keep the code for now.
+   } else {
     if( ((GDIDEVICE *)dc->pPDev)->DriverFunctions.SetPalette)
     {
       ASSERT(palGDI->NumColors <= 256);
       success = ((GDIDEVICE *)dc->pPDev)->DriverFunctions.SetPalette(
         dc->PDev, palPtr, 0, 0, palGDI->NumColors);
-    }
+    }*/
   }
   // need to pass this to IntEngCreateXlate with palettes unlocked