https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e7b222f4c5f552ef7a01fa4a66bbf73188e41441

commit e7b222f4c5f552ef7a01fa4a66bbf73188e41441
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Sun Jan 27 20:54:19 2019 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Sun Jan 27 20:54:19 2019 +0900

    [WIN32SS][NTGDI] Delete magic number 565
---
 win32ss/gdi/ntgdi/bitmaps.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/win32ss/gdi/ntgdi/bitmaps.c b/win32ss/gdi/ntgdi/bitmaps.c
index b12603d754..c98259967e 100644
--- a/win32ss/gdi/ntgdi/bitmaps.c
+++ b/win32ss/gdi/ntgdi/bitmaps.c
@@ -617,12 +617,6 @@ NtGdiSetBitmapBits(
         return 0;
     }
 
-    /* 565 is confirmed value in Win2k3 */
-    if (Bytes >= 565)
-    {
-        return 0;
-    }
-
     if (GDI_HANDLE_IS_STOCKOBJ(hBitmap))
     {
         return 0;

Reply via email to