mirror of https://github.com/GNOME/gimp.git
fixed a cut-and-paste bug: vertical flip iterates over rows, not columns.
1999-04-30 Michael Natterer <mitschel@cs.tu-berlin.de> * app/flip_tool.c: fixed a cut-and-paste bug: vertical flip iterates over rows, not columns.
This commit is contained in:
parent
0c0e59390d
commit
f2681a95d1
|
@ -1,3 +1,8 @@
|
|||
1999-04-30 Michael Natterer <mitschel@cs.tu-berlin.de>
|
||||
|
||||
* app/flip_tool.c: fixed a cut-and-paste bug: vertical flip
|
||||
iterates over rows, not columns.
|
||||
|
||||
Thu Apr 29 16:32:11 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
|
||||
|
||||
* plug-ins/url/url.c (load_image):
|
||||
|
|
|
@ -235,7 +235,7 @@ flip_tool_flip (GImage *gimage,
|
|||
copy_region (&srcPR, &destPR);
|
||||
}
|
||||
else
|
||||
for (i = 0; i < orig->width; i++)
|
||||
for (i = 0; i < orig->height; i++)
|
||||
{
|
||||
pixel_region_init (&srcPR, orig, 0, i, orig->width, 1, FALSE);
|
||||
pixel_region_init (&destPR, new, 0, (orig->height - i - 1), orig->width, 1, TRUE);
|
||||
|
|
|
@ -235,7 +235,7 @@ flip_tool_flip (GImage *gimage,
|
|||
copy_region (&srcPR, &destPR);
|
||||
}
|
||||
else
|
||||
for (i = 0; i < orig->width; i++)
|
||||
for (i = 0; i < orig->height; i++)
|
||||
{
|
||||
pixel_region_init (&srcPR, orig, 0, i, orig->width, 1, FALSE);
|
||||
pixel_region_init (&destPR, new, 0, (orig->height - i - 1), orig->width, 1, TRUE);
|
||||
|
|
|
@ -235,7 +235,7 @@ flip_tool_flip (GImage *gimage,
|
|||
copy_region (&srcPR, &destPR);
|
||||
}
|
||||
else
|
||||
for (i = 0; i < orig->width; i++)
|
||||
for (i = 0; i < orig->height; i++)
|
||||
{
|
||||
pixel_region_init (&srcPR, orig, 0, i, orig->width, 1, FALSE);
|
||||
pixel_region_init (&destPR, new, 0, (orig->height - i - 1), orig->width, 1, TRUE);
|
||||
|
|
Loading…
Reference in New Issue