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

gEDA-cvs: CVS update: g_hook.c



  User: ahvezda 
  Date: 06/09/30 10:33:15

  Modified:    .        g_hook.c
  Log:
  Fixed g_add_component to add the new complex to the object list
  
  
  
  
  Revision  Changes    Path
  1.9       +7 -6      eda/geda/gaf/gschem/src/g_hook.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: g_hook.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/g_hook.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- g_hook.c	30 Sep 2006 11:30:26 -0000	1.8
  +++ g_hook.c	30 Sep 2006 14:33:15 -0000	1.9
  @@ -519,12 +519,13 @@
       }
       clib = (gchar*)clibs->data;
   
  -    new_object = o_complex_add(w_current, 
  +    new_object = page->object_tail = o_complex_add(w_current, 
   			       page->object_tail, 'C', 
   			       WHITE, 
   			       x, y, 
   			       angle, mirror,
  -			       clib, comp_name, selectable, FALSE);
  +			                           clib, comp_name, 
  +                                                   selectable, FALSE);
       
       /* Now the new component should be added to the object's list and 
          drawn in the screen */
  
  
  


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