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

gEDA-cvs: CVS update: o_copy.c



  User: cnieves 
  Date: 06/11/09 12:54:47

  Modified:    .        Tag: glist_dev o_copy.c
  Log:
  * src/o_copy.c (o_copy_end): Fixed starting point of the list when
  
    running the copy hook. This bug maked gschem to miss the first
  
    object in the list when calling the copy hook.
  
  
  
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.26.2.6  +1 -1      eda/geda/gaf/gschem/src/o_copy.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_copy.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_copy.c,v
  retrieving revision 1.26.2.5
  retrieving revision 1.26.2.6
  diff -u -b -r1.26.2.5 -r1.26.2.6
  --- o_copy.c	23 Oct 2006 18:23:29 -0000	1.26.2.5
  +++ o_copy.c	9 Nov 2006 17:54:46 -0000	1.26.2.6
  @@ -487,7 +487,7 @@
     s_basic_link_object(new_objects_head, w_current->page_current->object_tail);
   
     /* Run the copy component hook */
  -  object = new_objects_head->next;
  +  object = new_objects_head;
     while (object != NULL) {
       if ((object->type == OBJ_COMPLEX) &&
   	(scm_hook_empty_p(copy_component_hook) == SCM_BOOL_F)) {
  
  
  


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