[PATCH v2] dibdrv: Fix the wrong lookup table number.

Byeongsik Jeon bsjeon at hanmail.net
Fri Oct 12 01:59:37 CDT 2018


for ( x = 1; x < 17; x++ )
    printf("0x%02x ", (int)( 77.05 * pow( x, 0.4315 ) + .5 ));

0x4d 0x68 0x7c 0x8c 0x9a 0xa7 0xb2 0xbd 0xc7 0xd0 0xd9 0xe1 0xe9 0xf1 0xf8 0xff

Signed-off-by: Byeongsik Jeon <bsjeon at hanmail.net>
---
v2: Discard the previous patch 1, 3.

 dlls/gdi32/dibdrv/graphics.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/gdi32/dibdrv/graphics.c b/dlls/gdi32/dibdrv/graphics.c
index 08f8c3d6d2..f520424b25 100644
--- a/dlls/gdi32/dibdrv/graphics.c
+++ b/dlls/gdi32/dibdrv/graphics.c
@@ -481,7 +481,7 @@ static const BYTE ramp[17] =
     0,    0x4d, 0x68, 0x7c,
     0x8c, 0x9a, 0xa7, 0xb2,
     0xbd, 0xc7, 0xd0, 0xd9,
-    0xe1, 0xe9, 0xf0, 0xf8,
+    0xe1, 0xe9, 0xf1, 0xf8,
     0xff
 };
 
-- 
2.19.1




More information about the wine-devel mailing list