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

gEDA-cvs: CVS update: x_window.c



  User: ahvezda 
  Date: 06/07/24 20:54:34

  Modified:    .        x_window.c
  Log:
  Added pro-active pointer check.  Related to (Bug#1528080).
  
  
  
  
  Revision  Changes    Path
  1.31      +2 -1      eda/geda/gaf/gschem/src/x_window.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_window.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_window.c,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -b -r1.30 -r1.31
  --- x_window.c	15 Jul 2006 18:51:41 -0000	1.30
  +++ x_window.c	25 Jul 2006 00:54:34 -0000	1.31
  @@ -994,7 +994,8 @@
     x_fileselect_free_list_buffers(&w_current->fileselect[FILESELECT]);
     x_fileselect_free_list_buffers(&w_current->fileselect[COMPSELECT]);
   
  -  if (w_current->next == NULL && w_current->prev->prev == NULL) {
  +  if (w_current->next == NULL && w_current->prev != NULL && 
  +      w_current->prev->prev == NULL) {
       /* no more window after this one, remember to quit */
       last_window = TRUE;
     }
  
  
  


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