Fix copy paste typo in swap_byte_order

This commit is contained in:
Pascal Terjan 2014-10-28 00:50:20 +01:00 committed by Mikael Magnusson
parent 7a6c559948
commit 130075de74

View file

@ -239,7 +239,7 @@ static void swap_byte_order(XImage *im)
di = 0;
for (y = 0; y < im->height; ++y) {
for (x = 0; x < im->height; ++x) {
for (x = 0; x < im->width; ++x) {
gchar *c = &im->data[di + x * im->bits_per_pixel / 8];
gchar t;