[WIN32SS] Mute a major spammer in AHK tests.
authorMark Jansen <mark.jansen@reactos.org>
Tue, 7 Feb 2017 10:33:42 +0000 (10:33 +0000)
committerMark Jansen <mark.jansen@reactos.org>
Tue, 7 Feb 2017 10:33:42 +0000 (10:33 +0000)
svn path=/trunk/; revision=73744

reactos/win32ss/gdi/ntgdi/palette.c

index 609670f..7c830af 100644 (file)
@@ -745,7 +745,12 @@ IntGdiRealizePalette(HDC hDC)
 
     if (pdc->dctype == DCTYPE_DIRECT)
     {
-        UNIMPLEMENTED;
+        static BOOL g_WarnedOnce = FALSE;
+        if (!g_WarnedOnce)
+        {
+            g_WarnedOnce = TRUE;
+            UNIMPLEMENTED;
+        }
         goto cleanup;
     }