[Gnucash-changes] r12030 - gnucash/trunk - Fix crash when saving files.

David Hampton hampton at cvs.gnucash.org
Fri Nov 25 21:59:57 EST 2005


Author: hampton
Date: 2005-11-25 21:59:56 -0500 (Fri, 25 Nov 2005)
New Revision: 12030
Trac: http://svn.gnucash.org/trac/changeset/12030

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/scm/main-window.scm
Log:
Fix crash when saving files.

Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2005-11-25 21:27:26 UTC (rev 12029)
+++ gnucash/trunk/ChangeLog	2005-11-26 02:59:56 UTC (rev 12030)
@@ -1,5 +1,7 @@
 2005-11-25  David Hampton  <hampton at employees.org>
 
+	* src/scm/main-window.scm: Fix crash when saving files.
+
 	* src/report/report-gnome/gnc-plugin-page-report.c:
 	* src/business/business-gnome/gnc-plugin-page-invoice.c:
 	* src/gnome-utils/gnc-main-window.c:

Modified: gnucash/trunk/src/scm/main-window.scm
===================================================================
--- gnucash/trunk/src/scm/main-window.scm	2005-11-25 21:27:26 UTC (rev 12029)
+++ gnucash/trunk/src/scm/main-window.scm	2005-11-26 02:59:56 UTC (rev 12030)
@@ -103,7 +103,7 @@
 	 (conf-file-name (gnc:html-encode-string book-url))
          (book-path #f))
 
-    (if (conf-file-name)
+    (if conf-file-name
         (let ((book-path (gnc:build-book-path conf-file-name)))
           (with-output-to-port (open-output-file book-path)
             (lambda ()



More information about the gnucash-changes mailing list