From 7110c063e1506b330a866e70db4a5540601e1346 Mon Sep 17 00:00:00 2001 From: Olof S Kylander/GIMP Date: Mon, 6 Sep 1999 01:15:44 +0000 Subject: [PATCH] Fixed a cut&paste error it the radius check code Fixed a cut&paste error it the radius check code --- app/blob.c | 2 +- app/paint/gimpink-blob.c | 2 +- app/tools/blob.c | 2 +- app/tools/gimpinktool-blob.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/blob.c b/app/blob.c index bab20109c1..eaf508e655 100644 --- a/app/blob.c +++ b/app/blob.c @@ -640,7 +640,7 @@ blob_ellipse (double xc, double yc, double xp, double yp, double xq, double yq) /* Figure out a step that will draw most of the points */ r1 = sqrt (xp * xp + yp * yp); - r2 = sqrt (xp * xp + yp * yp); + r2 = sqrt (xq * xq + yq * yq); max_radius = MAX (r1, r2); step = TABLE_SIZE; diff --git a/app/paint/gimpink-blob.c b/app/paint/gimpink-blob.c index bab20109c1..eaf508e655 100644 --- a/app/paint/gimpink-blob.c +++ b/app/paint/gimpink-blob.c @@ -640,7 +640,7 @@ blob_ellipse (double xc, double yc, double xp, double yp, double xq, double yq) /* Figure out a step that will draw most of the points */ r1 = sqrt (xp * xp + yp * yp); - r2 = sqrt (xp * xp + yp * yp); + r2 = sqrt (xq * xq + yq * yq); max_radius = MAX (r1, r2); step = TABLE_SIZE; diff --git a/app/tools/blob.c b/app/tools/blob.c index bab20109c1..eaf508e655 100644 --- a/app/tools/blob.c +++ b/app/tools/blob.c @@ -640,7 +640,7 @@ blob_ellipse (double xc, double yc, double xp, double yp, double xq, double yq) /* Figure out a step that will draw most of the points */ r1 = sqrt (xp * xp + yp * yp); - r2 = sqrt (xp * xp + yp * yp); + r2 = sqrt (xq * xq + yq * yq); max_radius = MAX (r1, r2); step = TABLE_SIZE; diff --git a/app/tools/gimpinktool-blob.c b/app/tools/gimpinktool-blob.c index bab20109c1..eaf508e655 100644 --- a/app/tools/gimpinktool-blob.c +++ b/app/tools/gimpinktool-blob.c @@ -640,7 +640,7 @@ blob_ellipse (double xc, double yc, double xp, double yp, double xq, double yq) /* Figure out a step that will draw most of the points */ r1 = sqrt (xp * xp + yp * yp); - r2 = sqrt (xp * xp + yp * yp); + r2 = sqrt (xq * xq + yq * yq); max_radius = MAX (r1, r2); step = TABLE_SIZE;