From 4bebb78d5e33c32eff749409e91d6a93116ceb8f Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 7 Oct 2012 10:03:31 +0000 Subject: [PATCH] [WIN32K] Fix missing colorTriple increment when creating the color table in GreGetDIBitsInternal. svn path=/trunk/; revision=57510 --- reactos/win32ss/gdi/ntgdi/dibobj.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/win32ss/gdi/ntgdi/dibobj.c b/reactos/win32ss/gdi/ntgdi/dibobj.c index cdb377ea967..e7296226115 100644 --- a/reactos/win32ss/gdi/ntgdi/dibobj.c +++ b/reactos/win32ss/gdi/ntgdi/dibobj.c @@ -815,6 +815,7 @@ GreGetDIBitsInternal( colorTriple->rgbtRed = (r * 0xff) / 5; colorTriple->rgbtGreen = (g * 0xff) / 5; colorTriple->rgbtBlue = (b * 0xff) / 5; + colorTriple++; } } }