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

gEDA-cvs: pcb.git: branch: master updated (7239008494744b4834cd9dc41e3866949c3220e5)



The branch, master has been updated
       via  7239008494744b4834cd9dc41e3866949c3220e5 (commit)
      from  2e29fd0c82c5ac586399446318f26efd33257645 (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/draw.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


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

commit 7239008494744b4834cd9dc41e3866949c3220e5
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    draw.c: Use the ON_SIDE() macro rather then open-code the test

:100644 100644 cb1b790... c82f25a... M	src/draw.c

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

commit 7239008494744b4834cd9dc41e3866949c3220e5
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    draw.c: Use the ON_SIDE() macro rather then open-code the test

diff --git a/src/draw.c b/src/draw.c
index cb1b790..c82f25a 100644
--- a/src/draw.c
+++ b/src/draw.c
@@ -512,7 +512,7 @@ pad_callback (const BoxType * b, void *cl)
   PadTypePtr pad = (PadTypePtr) b;
   int *side = cl;
 
-  if (TEST_FLAG (ONSOLDERFLAG, pad) == (*side == SOLDER_LAYER))
+  if (ON_SIDE (pad, *side))
     DrawPad (pad);
   return 1;
 }




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