https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dc7f4f682f814da4a2d3bc...
commit dc7f4f682f814da4a2d3bc362f8687a4338aa708 Author: jimtabor james.tabor@reactos.org AuthorDate: Thu May 9 12:35:21 2019 -0500 Commit: jimtabor james.tabor@reactos.org CommitDate: Thu May 9 12:35:21 2019 -0500
[Win32SS] Plug in Last Batch
Plugging in last batch after 12 years. --- win32ss/gdi/gdi32/include/gdi32p.h | 2 +- win32ss/gdi/ntgdi/dclife.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/win32ss/gdi/gdi32/include/gdi32p.h b/win32ss/gdi/gdi32/include/gdi32p.h index 3574850683..c054bf1fcc 100644 --- a/win32ss/gdi/gdi32/include/gdi32p.h +++ b/win32ss/gdi/gdi32/include/gdi32p.h @@ -408,7 +408,7 @@ GdiAllocBatchCommand( else if (Cmd == GdiBCTextOut) cjSize = sizeof(GDIBSTEXTOUT); else if (Cmd == GdiBCExtTextOut) cjSize = sizeof(GDIBSEXTTEXTOUT); else if (Cmd == GdiBCSetBrushOrg) cjSize = sizeof(GDIBSSETBRHORG); - else if (Cmd == GdiBCExtSelClipRgn) cjSize = 0; + else if (Cmd == GdiBCExtSelClipRgn) cjSize = sizeof(GDIBSEXTSELCLPRGN); else if (Cmd == GdiBCSelObj) cjSize = sizeof(GDIBSOBJECT); else if (Cmd == GdiBCDelRgn) cjSize = sizeof(GDIBSOBJECT); else if (Cmd == GdiBCDelObj) cjSize = sizeof(GDIBSOBJECT); diff --git a/win32ss/gdi/ntgdi/dclife.c b/win32ss/gdi/ntgdi/dclife.c index 3f25639672..99d872a9c2 100644 --- a/win32ss/gdi/ntgdi/dclife.c +++ b/win32ss/gdi/ntgdi/dclife.c @@ -950,7 +950,7 @@ APIENTRY NtGdiDeleteObjectApp(HANDLE hobj) { /* Complete all pending operations */ - NtGdiFlushUserBatch(); // FIXME: We shouldn't need this + //NtGdiFlushUserBatch(); // FIXME: We shouldn't need this
if (GDI_HANDLE_IS_STOCKOBJ(hobj)) return TRUE;