r15365 - gnucash/branches/sx-cleanup/src/core-utils - bug fix. :p

Josh Sled jsled at cvs.gnucash.org
Sat Jan 13 19:09:22 EST 2007


Author: jsled
Date: 2007-01-13 19:09:22 -0500 (Sat, 13 Jan 2007)
New Revision: 15365
Trac: http://svn.gnucash.org/trac/changeset/15365

Modified:
   gnucash/branches/sx-cleanup/src/core-utils/gnc-glib-utils.c
Log:
bug fix. :p

Modified: gnucash/branches/sx-cleanup/src/core-utils/gnc-glib-utils.c
===================================================================
--- gnucash/branches/sx-cleanup/src/core-utils/gnc-glib-utils.c	2007-01-13 23:45:29 UTC (rev 15364)
+++ gnucash/branches/sx-cleanup/src/core-utils/gnc-glib-utils.c	2007-01-14 00:09:22 UTC (rev 15365)
@@ -85,7 +85,10 @@
 
      // if it's the first element.
      if (cut_point->prev == NULL)
+     {
           *list = NULL;
+          return;
+     }
 
      cut_point->prev->next = NULL;
      cut_point->prev = NULL;



More information about the gnucash-changes mailing list