]> Dogcows Code - chaz/tint2/commitdiff
*fix* broken icons on amd64. fixes issue 155
authorAndreas Fink <andreas.fink85@googlemail.com>
Wed, 30 Sep 2009 17:38:12 +0000 (17:38 +0000)
committerAndreas Fink <andreas.fink85@googlemail.com>
Wed, 30 Sep 2009 17:38:12 +0000 (17:38 +0000)
src/taskbar/task.c

index c4c2b883e40b1e41d16672da03a73860e4eec0d0..c366ff6605d9ae87b2b4a37a268a3fb469f92b53 100644 (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);
This page took 0.023181 seconds and 4 git commands to generate.