fix a typo (i where a j should be)

* app/iscissors.c: fix a typo (i where a j should be)
This commit is contained in:
Nate Summers 1998-03-26 23:32:55 +00:00
parent bf0a1c431c
commit 4f901c84da
4 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,6 @@
Thu Mar 26 16L32:05 MST 1998 Nathan Summers <rock@gimp.org>
* app/iscissors.c: fix a typo (i where a j should be)
Thu Mar 26 15:26:18 MST 1998 Nathan Summers <rock@gimp.org>
* app/iscissors.c: This version works much better.
outstanding bugs <VERY IMPORTANT>:

View File

@ -1327,9 +1327,9 @@ shape_of_boundary (Tool *tool)
*/
if(j) {
if((kinks[i].x != kinks[j-1].x) || (kinks[j].y != kinks[j-1].y))
if((kinks[j].x != kinks[j-1].x) || (kinks[j].y != kinks[j-1].y))
++j;
} else ++j;
} else j++;
}
iscissors->num_kinks = j;

View File

@ -1327,9 +1327,9 @@ shape_of_boundary (Tool *tool)
*/
if(j) {
if((kinks[i].x != kinks[j-1].x) || (kinks[j].y != kinks[j-1].y))
if((kinks[j].x != kinks[j-1].x) || (kinks[j].y != kinks[j-1].y))
++j;
} else ++j;
} else j++;
}
iscissors->num_kinks = j;

View File

@ -1327,9 +1327,9 @@ shape_of_boundary (Tool *tool)
*/
if(j) {
if((kinks[i].x != kinks[j-1].x) || (kinks[j].y != kinks[j-1].y))
if((kinks[j].x != kinks[j-1].x) || (kinks[j].y != kinks[j-1].y))
++j;
} else ++j;
} else j++;
}
iscissors->num_kinks = j;