[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (5a35337e35921dbc61dcc3980c7cb76ce1a3e85f)



The branch, master has been updated
       via  5a35337e35921dbc61dcc3980c7cb76ce1a3e85f (commit)
      from  b0d8e87b932030f1cbe791aba0ce6c529200f1a0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/polygon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit 5a35337e35921dbc61dcc3980c7cb76ce1a3e85f
Author: Ineiev <ineiev@xxxxxxxxxxxxxxxx>
Commit: Ineiev <ineiev@xxxxxxxxxxxxxxxx>

    simplify an expression
    
    return to the form written in d5d894d977e610
    (lost in 2d8dc8a3a3a551)

:100644 100644 0235495... 78cc3b2... M	src/polygon.c

=========
 Changes
=========

commit 5a35337e35921dbc61dcc3980c7cb76ce1a3e85f
Author: Ineiev <ineiev@xxxxxxxxxxxxxxxx>
Commit: Ineiev <ineiev@xxxxxxxxxxxxxxxx>

    simplify an expression
    
    return to the form written in d5d894d977e610
    (lost in 2d8dc8a3a3a551)

diff --git a/src/polygon.c b/src/polygon.c
index 0235495..78cc3b2 100644
--- a/src/polygon.c
+++ b/src/polygon.c
@@ -405,7 +405,7 @@ frac_circle (PLINE * c, LocationType X, LocationType Y, Vector v, int range)
   e2 = (v[1] - Y) * (1 + radius_adjustment);
 
   /* NB: the caller adds the last vertex, hence the -1 */
-  range = range == 1 ? CIRC_SEGS-1 : (CIRC_SEGS / range) - 1;
+  range = CIRC_SEGS / range - 1;
   for (i = 0; i < range; i++)
     {
       /* rotate the vector */




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs