init the parent shit in the surface when making a copy
authorDana Jansens <danakj@orodu.net>
Wed, 23 Jul 2003 23:09:11 +0000 (23:09 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 23 Jul 2003 23:09:11 +0000 (23:09 +0000)
render/render.c

index a8539d7..eee96da 100644 (file)
@@ -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;