*fix* broken icons on amd64. fixes issue 155 git-svn-id: http://tint2.googlecode.com/svn/trunk@210 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
Andreas.Fink85 Andreas.Fink85@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/taskbar/task.c
→
src/taskbar/task.c
@@ -205,7 +205,7 @@ DATA32 *icon_data = malloc (w * h * sizeof (DATA32));
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);