From 5ecd1f57d9bc26d040188dff345de8108d49af1a Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Thu, 9 Jun 2005 20:18:32 +0000 Subject: [PATCH] dib16_hline revert GvG change until some rewrite the asm code to handler the 4 align right. for now it does the test 0x01,%%edi is wrong it must be test 0x03,%%edi for not break cmd in 16bpp and other apps svn path=/trunk/; revision=15849 --- reactos/subsys/win32k/dib/dib16bpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsys/win32k/dib/dib16bpp.c b/reactos/subsys/win32k/dib/dib16bpp.c index b4e4acb08ad..906308ecb56 100644 --- a/reactos/subsys/win32k/dib/dib16bpp.c +++ b/reactos/subsys/win32k/dib/dib16bpp.c @@ -53,7 +53,7 @@ DIB_16BPP_HLine(SURFOBJ *SurfObj, LONG x1, LONG x2, LONG y, ULONG c) " shl $16, %%eax\n" " andl $0xffff, %0\n" /* If the pixel value is "abcd", put "abcdabcd" in %eax */ " or %0, %%eax\n" -" test $0x03, %%edi\n" /* Align to fullword boundary */ +" test $0x01, %%edi\n" /* Align to fullword boundary */ " jz .L1\n" " stosw\n" " dec %1\n"