[WIN32SS][NTGDI] Delete magic number 565
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Sun, 27 Jan 2019 11:54:19 +0000 (20:54 +0900)
committerKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Sun, 27 Jan 2019 11:54:19 +0000 (20:54 +0900)
win32ss/gdi/ntgdi/bitmaps.c

index b12603d..c982599 100644 (file)
@@ -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;