[GDI32]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 5 Sep 2014 20:55:01 +0000 (20:55 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 5 Sep 2014 20:55:01 +0000 (20:55 +0000)
Add comment about broken #if 0'ed code, noticed by Hermes.

svn path=/trunk/; revision=64041

reactos/win32ss/gdi/gdi32/objects/region.c

index 8724799..d50c8bf 100644 (file)
@@ -646,6 +646,7 @@ ExtSelectClipRgn( IN HDC hdc, IN HRGN hrgn, IN INT iMode)
                 {
                     if ((pTeb->GdiTebBatch.Offset + sizeof(GDIBSEXTSELCLPRGN)) <= GDIBATCHBUFSIZE)
                     {
+                        // FIXME: This is broken, use GdiAllocBatchCommand!
                         PGDIBSEXTSELCLPRGN pgO = (PGDIBSEXTSELCLPRGN)(&pTeb->GdiTebBatch.Buffer[0] +
                                                  pTeb->GdiTebBatch.Offset);
                         pgO->gbHdr.Cmd = GdiBCExtSelClipRgn;