From: Andreas Fink Date: Wed, 30 Sep 2009 17:38:12 +0000 (+0000) Subject: *fix* broken icons on amd64. fixes issue 155 X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=24dae412be9366fd503199e90534cde88eba27d0;p=chaz%2Ftint2 *fix* broken icons on amd64. fixes issue 155 --- 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);