[gimp] Fix for another potentially crashing and while.
- From: Alexia Death <alexiade src gnome org>
- To: svn-commits-list gnome org
- Subject: [gimp] Fix for another potentially crashing and while.
- Date: Sat, 6 Jun 2009 12:30:42 -0400 (EDT)
commit f3f7b280799bc16af6800d9dcf59d1cfddd3c625
Author: Alexia Death <alexiadeath gmail com>
Date: Sat Jun 6 19:25:13 2009 +0300
Fix for another potentially crashing and while.
This time in gimp_coords_interpolate_catmull. This should be
the last one.
---
app/core/gimpcoords-interpolate.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/app/core/gimpcoords-interpolate.c b/app/core/gimpcoords-interpolate.c
index 2a4259b..3b6575a 100644
--- a/app/core/gimpcoords-interpolate.c
+++ b/app/core/gimpcoords-interpolate.c
@@ -319,8 +319,7 @@ gimp_coords_interpolate_catmull (const GimpCoords catmul_pt1,
coords.direction = start_coords.direction + dir_step * n;
- while (coords.direction > 1.0)
- coords.direction -= 1.0;
+ coords.direction = coords.direction - floor (coords.direction);
g_array_append_val (*ret_coords, coords);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]