[Gnucash-changes] r13857 - gnucash/trunk - Fix the crash in #339764.

David Hampton hampton at cvs.gnucash.org
Tue Apr 25 22:21:51 EDT 2006


Author: hampton
Date: 2006-04-25 22:21:50 -0400 (Tue, 25 Apr 2006)
New Revision: 13857
Trac: http://svn.gnucash.org/trac/changeset/13857

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/scm/price-quotes.scm
Log:
Fix the crash in #339764.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-04-26 01:31:02 UTC (rev 13856)
+++ gnucash/trunk/ChangeLog	2006-04-26 02:21:50 UTC (rev 13857)
@@ -1,3 +1,7 @@
+2006-04-25  David Hampton  <hampton at employees.org>
+
+	* src/scm/price-quotes.scm: Fix the crash in #339764.
+
 2006-04-25  Joshua Sled  <jsled at asynchronous.org>
 	Bug#119078: promote register parse errors to the user.
 

Modified: gnucash/trunk/src/scm/price-quotes.scm
===================================================================
--- gnucash/trunk/src/scm/price-quotes.scm	2006-04-26 01:31:02 UTC (rev 13856)
+++ gnucash/trunk/src/scm/price-quotes.scm	2006-04-26 02:21:50 UTC (rev 13857)
@@ -412,7 +412,7 @@
                              (lambda (a b) (set! commodity-list a) b))))
 	   (quote-hash (make-hash-table 31)))
 
-      (if (null? big-list)
+      (if (and (null? commodity-list) (null? currency-list))
 	  #f
 	  (begin
 



More information about the gnucash-changes mailing list