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

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



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


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

commit 7e918135ef6aba78aa051888f24c799b2d6cb4f2
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... 47db1fd... M	src/draw.c

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

commit 7e918135ef6aba78aa051888f24c799b2d6cb4f2
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..47db1fd 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 *drawn_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 = drawn_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, drawn_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