diff --git a/win32ss/gdi/gdi32/include/gdi32p.h b/win32ss/gdi/gdi32/include/gdi32p.h index 50c13f856a..c8308bf65e 100644 --- a/win32ss/gdi/gdi32/include/gdi32p.h +++ b/win32ss/gdi/gdi32/include/gdi32p.h @@ -393,7 +393,7 @@ GdiAllocBatchCommand( if (!pTeb || !pTeb->Win32ThreadInfo) return NULL; /* Get the size of the entry */ - if (Cmd == GdiBCPatBlt) cjSize = sizeof(GDIBSPATBLT); + if (Cmd == GdiBCPatBlt) cjSize = 0; //sizeof(GDIBSPATBLT); else if (Cmd == GdiBCPolyPatBlt) cjSize = sizeof(GDIBSPPATBLT); else if (Cmd == GdiBCTextOut) cjSize = sizeof(GDIBSTEXTOUT); else if (Cmd == GdiBCExtTextOut) cjSize = sizeof(GDIBSEXTTEXTOUT);