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

gEDA-cvs: CVS update: o_copy.c



  User: cnieves 
  Date: 06/11/28 13:14:43

  Modified:    .        Tag: glist_dev o_copy.c
  Log:
  * src/o_copy.c (o_copy_start): Fixed color of copied text.
  
    After copying an object and deselecting everything, the refdes 
  
    attribute kept the selection color.
  
    Thanks to Werner Hoch for reporting the bug.
  
  
  
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.26.2.7  +3 -4      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.6
  retrieving revision 1.26.2.7
  diff -u -b -r1.26.2.6 -r1.26.2.7
  --- o_copy.c	9 Nov 2006 17:54:46 -0000	1.26.2.6
  +++ o_copy.c	28 Nov 2006 18:14:43 -0000	1.26.2.7
  @@ -239,7 +239,6 @@
                                               return_tail(new_objects_head),
                                               object);
           w_current->ADDING_SEL=0; 
  -        new_object->color = object->color;
   
   	/* this is also okay NEWSEL new_obj is single */
           if (object->attached_to) {
  @@ -262,12 +261,12 @@
   				/* old object was attr */
           if (!new_object->attribute && 
               object->attribute) {		 	  
  +	  /*	  new_object->color = w_current-> detachedattr_color; */
             o_complex_set_color(new_object, new_object->color);
             new_object->visibility = VISIBLE;
             color = new_object->color;
           } else {
  -	  /*          color = object->saved_color;*/
  -	  color = object->color;
  +	  color = object->saved_color;
           }
   
           new_objects = o_selection_add(new_objects, new_object);
  
  
  


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