[ros-diffs] [tkreuzer] 56466: [WIN32K] Fix a typo

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Tue May 1 14:59:24 UTC 2012


Author: tkreuzer
Date: Tue May  1 14:59:24 2012
New Revision: 56466

URL: http://svn.reactos.org/svn/reactos?rev=56466&view=rev
Log:
[WIN32K]
Fix a typo

Modified:
    trunk/reactos/win32ss/gdi/eng/rlecomp.c

Modified: trunk/reactos/win32ss/gdi/eng/rlecomp.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/eng/rlecomp.c?rev=56466&r1=56465&r2=56466&view=diff
==============================================================================
--- trunk/reactos/win32ss/gdi/eng/rlecomp.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/eng/rlecomp.c [iso-8859-1] Tue May  1 14:59:24 2012
@@ -33,7 +33,7 @@
 
     if ((Format == BMF_4RLE) || (Format == BMF_4BPP))
         shift = 1;
-    else if ((Format != BMF_8RLE) || (Format == BMF_8BPP))
+    else if ((Format != BMF_8RLE) && (Format != BMF_8BPP))
         return;
 
     width = ((Size.cx + shift) >> shift);




More information about the Ros-diffs mailing list