From 24dae412be9366fd503199e90534cde88eba27d0 Mon Sep 17 00:00:00 2001 From: Andreas Fink Date: Wed, 30 Sep 2009 17:38:12 +0000 Subject: [PATCH] *fix* broken icons on amd64. fixes issue 155 --- src/taskbar/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/taskbar/task.c b/src/taskbar/task.c index c4c2b88..c366ff6 100644 --- a/src/taskbar/task.c +++ b/src/taskbar/task.c @@ -205,7 +205,7 @@ void get_icon (Task *tsk) int length = w * h; for (i = 0; i < length; ++i) icon_data[i] = tmp_data[i]; - img = imlib_create_image_using_data (w, h, icon_data); + img = imlib_create_image_using_copied_data (w, h, icon_data); free(icon_data); #else img = imlib_create_image_using_data (w, h, (DATA32*)tmp_data); -- 2.45.2