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

gEDA-cvs: gaf.git: branch: master updated (1.5.1-20081221-210-g43af792)



The branch, master has been updated
       via  43af79264390283ac861cb4a9bab3d27c0436eda (commit)
      from  20be2df71df169f041cafeb7ad0c26e96901fefe (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
=========

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


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

commit 43af79264390283ac861cb4a9bab3d27c0436eda
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Fri Jan 30 16:52:05 2009 +0000

    gschem: Fix cues on vertical pins to be drawn inwards, not extend the pin
    
    Bug was probably introduced when switching the drawing functions to
    use world coordinates.

:100644 100644 f81abe6... f5daa76... M	gschem/src/o_cue.c

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

commit 43af79264390283ac861cb4a9bab3d27c0436eda
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Fri Jan 30 16:52:05 2009 +0000

    gschem: Fix cues on vertical pins to be drawn inwards, not extend the pin
    
    Bug was probably introduced when switching the drawing functions to
    use world coordinates.

diff --git a/gschem/src/o_cue.c b/gschem/src/o_cue.c
index f81abe6..f5daa76 100644
--- a/gschem/src/o_cue.c
+++ b/gschem/src/o_cue.c
@@ -234,10 +234,10 @@ void o_cue_draw_lowlevel(GSCHEM_TOPLEVEL *w_current, OBJECT *object, int whichon
               /* vertical line */
               if (object->line->y[whichone] <= object->line->y[otherone]) {
                 gschem_cairo_line (w_current, END_NONE, pinsize, x, y,
-                                                                 x, y - size);
+                                                                 x, y + size);
               } else {
                 gschem_cairo_line (w_current, END_NONE, pinsize, x, y,
-                                                                 x, y + size);
+                                                                 x, y - size);
               }
               gschem_cairo_stroke (w_current, TYPE_SOLID,
                                    END_NONE, pinsize, -1, -1);




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