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

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



The branch, master has been updated
       via  3b8f37685d5c548ea444b3a8b41555268625b9c0 (commit)
      from  de86bae3007b8b1f82d3ebb1d3bb8d59396dc08f (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 |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


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

commit 3b8f37685d5c548ea444b3a8b41555268625b9c0
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    draw.c: Rename the "screen" parameter of DrawLayerGroup to "drawn_area"
    
    (For consistency with other code in draw.c)

:100644 100644 b5be3dc... db38c81... M	src/draw.c

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

commit 3b8f37685d5c548ea444b3a8b41555268625b9c0
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    draw.c: Rename the "screen" parameter of DrawLayerGroup to "drawn_area"
    
    (For consistency with other code in draw.c)

diff --git a/src/draw.c b/src/draw.c
index b5be3dc..db38c81 100644
--- a/src/draw.c
+++ b/src/draw.c
@@ -794,7 +794,7 @@ DrawLayer (LayerTypePtr Layer, const BoxType * screen)
  * drawn with this group.
  */
 static int
-DrawLayerGroup (int group, const BoxType * screen)
+DrawLayerGroup (int group, const BoxType *draw_area)
 {
   int i, rv = 1;
   int layernum;
@@ -802,16 +802,16 @@ DrawLayerGroup (int group, const BoxType * screen)
   int n_entries = PCB->LayerGroups.Number[group];
   Cardinal *layers = PCB->LayerGroups.Entries[group];
 
-  clip_box = screen;
+  clip_box = draw_area;
   for (i = n_entries - 1; i >= 0; i--)
     {
       layernum = layers[i];
       Layer = PCB->Data->Layer + layers[i];
       if (strcmp (Layer->Name, "outline") == 0 ||
-	  strcmp (Layer->Name, "route") == 0)
-	rv = 0;
+          strcmp (Layer->Name, "route") == 0)
+        rv = 0;
       if (layernum < max_copper_layer && Layer->On)
-	DrawLayerCommon (Layer, screen, true);
+        DrawLayerCommon (Layer, draw_area, true);
     }
   if (n_entries > 1)
     rv = 1;




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