Hi.
I found a bug that gimp-drawable-get/set-pixel swapped the
specified x and y coordinates when getting/setting a pixel.
I found the bug in 1.1.10 but the bug seems not to be fixed in
1.1.11. Attached is a patch that fixes the bug.
Regards,
--
KAJIYAMA, Tamito <[EMAIL PROTECTED]>
--- drawable_cmds.c.orig Thu Oct 7 04:55:27 1999
+++ drawable_cmds.c Mon Nov 8 17:38:15 1999
@@ -1057,7 +1057,7 @@
x %= TILE_WIDTH;
y %= TILE_WIDTH;
- p = tile_data_pointer (tile, y, x);
+ p = tile_data_pointer (tile, x, y);
for (b = 0; b < num_channels; b++)
pixel[b] = p[b];
@@ -1167,7 +1167,7 @@
x %= TILE_WIDTH;
y %= TILE_WIDTH;
- p = tile_data_pointer (tile, y, x);
+ p = tile_data_pointer (tile, x, y);
for (b = 0; b < num_channels; b++)
*p++ = *pixel++;