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

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



The branch, master has been updated
       via  d2458383a60b670ad1c42163ac24fcc63fcab457 (commit)
       via  46549776f564b7060496e22cad6f660087f74908 (commit)
      from  6bc04df573b6ac3f71554bdbaf6175da63add1d5 (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/action.c    |    1 +
 src/hid/ps/ps.c |   15 ++++++++-------
 2 files changed, 9 insertions(+), 7 deletions(-)


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

commit d2458383a60b670ad1c42163ac24fcc63fcab457
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    action.c: Fix missing #include "mirror.h"

:100644 100644 20dbb0a... faa1f21... M	src/action.c
:100644 100644 fb9b8cc... 02448e5... M	src/hid/ps/ps.c

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

commit d2458383a60b670ad1c42163ac24fcc63fcab457
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    action.c: Fix missing #include "mirror.h"

diff --git a/src/action.c b/src/action.c
index 20dbb0a..faa1f21 100644
--- a/src/action.c
+++ b/src/action.c
@@ -55,6 +55,7 @@
 #include "line.h"
 #include "mymem.h"
 #include "misc.h"
+#include "mirror.h"
 #include "move.h"
 #include "polygon.h"
 /*#include "print.h"*/
diff --git a/src/hid/ps/ps.c b/src/hid/ps/ps.c
index fb9b8cc..02448e5 100644
--- a/src/hid/ps/ps.c
+++ b/src/hid/ps/ps.c
@@ -840,14 +840,15 @@ ps_set_layer (const char *name, int group, int empty)
     fprintf (global.f, "gsave tx ty translate 1 -1 scale 0 0 moveto ( ) show grestore newpath /ty ty ts sub def\n");
 #endif
 
-  /* If we're printing a copper layer other than the outline layer,
-     and we want to "print outlines", and we have an outline layer,
+  /* If we're printing a layer other than the outline layer, and
+     we want to "print outlines", and we have an outline layer,
      print the outline layer on this layer also.  */
-  if (global.outline
-      && global.outline_layer != NULL
-      && global.outline_layer != PCB->Data->Layer+idx
-      && strcmp (name, "outline")
-      && strcmp (name, "route"))
+  if (global.outline &&
+      global.outline_layer != NULL &&
+      global.outline_layer != PCB->Data->Layer+idx &&
+      strcmp (name, "outline") != 0 &&
+      strcmp (name, "route") != 0
+      )
     {
       DrawLayer (global.outline_layer, &global.region);
     }




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