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

gEDA-cvs: CVS update: s_page.nw



  User: cnieves 
  Date: 06/05/20 17:58:28

  Modified:    .        s_page.nw
  Log:
  Commented out the indentation of the C code and added one sanity check.
  
  
  
  
  Revision  Changes    Path
  1.19      +2 -1      eda/geda/devel/libgeda/noweb/s_page.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: s_page.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/libgeda/noweb/s_page.nw,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -b -r1.18 -r1.19
  --- s_page.nw	5 Jan 2006 13:37:32 -0000	1.18
  +++ s_page.nw	20 May 2006 21:58:27 -0000	1.19
  @@ -641,7 +641,8 @@
     /* In which situation can be page_head = NULL?
        Should we just disable the autosave timeout returning 0 or
        just wait for more pages to be added? */
  -  if (toplevel->page_head == NULL) {
  +  if ( (toplevel->page_head == NULL) ||
  +       (toplevel->page_head->next == NULL) ) {
       return (toplevel->auto_save_interval);
     }