From c3877bad13981ced8910a8dd947882b7e739508d Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Tue, 10 Nov 2020 16:10:48 +0800 Subject: [PATCH] fix a compilation error: use #ifdef _MGSCHEMA_COMPOSITING --- src/newgdi/gdi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/newgdi/gdi.c b/src/newgdi/gdi.c index a222ef92..440568aa 100644 --- a/src/newgdi/gdi.c +++ b/src/newgdi/gdi.c @@ -4413,7 +4413,9 @@ static void travel_children_with_priv_cdc (struct _travel_context* ctxt) child = (PCONTROL)(ctxt->parent->children); while (child) { +#ifdef _MGSCHEMA_COMPOSITING child->surf = ctxt->surface; +#endif if (child->privCDC) { ctxt->cb (ctxt, child);