Fix copy paste typo in swap_byte_order
This commit is contained in:
parent
7a6c559948
commit
130075de74
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ static void swap_byte_order(XImage *im)
|
||||||
|
|
||||||
di = 0;
|
di = 0;
|
||||||
for (y = 0; y < im->height; ++y) {
|
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 *c = &im->data[di + x * im->bits_per_pixel / 8];
|
||||||
gchar t;
|
gchar t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue