From 9352747a3cedd4ac3643876ca70174089a13bdb8 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 23 Jul 2003 23:09:11 +0000 Subject: [PATCH] init the parent shit in the surface when making a copy --- render/render.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/render/render.c b/render/render.c index a8539d7a..eee96da5 100644 --- a/render/render.c +++ b/render/render.c @@ -188,6 +188,8 @@ RrAppearance *RrAppearanceCopy(RrAppearance *orig) spc->interlaced = spo->interlaced; spc->border = spo->border; + spc->parent = NULL; + spc->parentx = spc->parenty = 0; spc->RrPixel_data = NULL; copy->textures = orig->textures; -- 2.45.2