From 9b1943f1feff3f1ed50f9a4039925a9956ada63c Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Sun, 16 Mar 2003 23:41:42 +0000 Subject: [PATCH] copy textures in appearance_copy --- render/render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render/render.c b/render/render.c index 63b55d5c..71e5f7b3 100644 --- a/render/render.c +++ b/render/render.c @@ -177,7 +177,7 @@ Appearance *appearance_copy(Appearance *orig) break; } copy->textures = orig->textures; - copy->texture = NULL; /* XXX FIX ME */ + memcpy(copy->texture, orig->texture, orig->textures * sizeof(Texture)); copy->pixmap = None; copy->xftdraw = NULL; return copy; -- 2.45.2