init the parent shit in the surface when making a copy

This commit is contained in:
Dana Jansens 2003-07-23 23:09:11 +00:00
parent aca18d48b9
commit 9352747a3c

View file

@ -188,6 +188,8 @@ RrAppearance *RrAppearanceCopy(RrAppearance *orig)
spc->interlaced = spo->interlaced; spc->interlaced = spo->interlaced;
spc->border = spo->border; spc->border = spo->border;
spc->parent = NULL;
spc->parentx = spc->parenty = 0;
spc->RrPixel_data = NULL; spc->RrPixel_data = NULL;
copy->textures = orig->textures; copy->textures = orig->textures;