[gimp] app: I actually tested it this time
- From: Clayton Walker <claytonw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: I actually tested it this time
- Date: Sun, 23 Jun 2013 11:40:39 +0000 (UTC)
commit 76bdbf6d8f2a1c6808af6538bc9522bd89ea83ef
Author: Clayton Walker <clayton m walker gmail com>
Date: Sun Jun 23 13:39:18 2013 +0200
app: I actually tested it this time
app/vectors/gimpbezierstroke.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/app/vectors/gimpbezierstroke.c b/app/vectors/gimpbezierstroke.c
index 551c92a..2556d19 100644
--- a/app/vectors/gimpbezierstroke.c
+++ b/app/vectors/gimpbezierstroke.c
@@ -555,7 +555,7 @@ gimp_bezier_stroke_nearest_point_get (const GimpStroke *stroke,
gdouble *ret_pos)
{
gdouble min_dist, dist, pos;
- GimpCoords point;
+ GimpCoords point = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
GimpCoords segmentcoords[4];
GList *anchorlist;
GimpAnchor *segment_start;
@@ -569,7 +569,6 @@ gimp_bezier_stroke_nearest_point_get (const GimpStroke *stroke,
count = 0;
min_dist = -1;
pos = 0;
- point = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
for (anchorlist = stroke->anchors;
GIMP_ANCHOR (anchorlist->data)->type != GIMP_ANCHOR_ANCHOR;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]