*fix* broken icons on amd64. fixes issue 155

git-svn-id: http://tint2.googlecode.com/svn/trunk@210 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85 2009-09-30 17:38:12 +00:00
parent 8e43073ae1
commit d7b705e03d

View file

@ -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);