r23091 - gnucash/trunk/src/report/report-system - A whitespace cleanup, no functional changes

Geert Janssens gjanssens at code.gnucash.org
Fri Jul 5 12:38:07 EDT 2013


Author: gjanssens
Date: 2013-07-05 12:38:06 -0400 (Fri, 05 Jul 2013)
New Revision: 23091
Trac: http://svn.gnucash.org/trac/changeset/23091

Modified:
   gnucash/trunk/src/report/report-system/report.scm
Log:
A whitespace cleanup, no functional changes

Modified: gnucash/trunk/src/report/report-system/report.scm
===================================================================
--- gnucash/trunk/src/report/report-system/report.scm	2013-07-04 20:13:34 UTC (rev 23090)
+++ gnucash/trunk/src/report/report-system/report.scm	2013-07-05 16:38:06 UTC (rev 23091)
@@ -639,19 +639,19 @@
 (define (gnc:save-all-reports)
   (let ((save-ok? #t)
         (temp-path (gnc-build-dotgnucash-path "saved-reports-2.4-backup")))
-    (gnc:debug "saving all reports...")
-    ;; On windows, it seems to crash if we try to rename without deleting the old file first.
-    (if (access? temp-path F_OK)
-        (delete-file temp-path))
-    (rename-file gnc:current-saved-reports temp-path)
-    (hash-for-each (lambda (k v)
-		     (if (gnc:report-template-parent-type v)
-			 (begin
-			   (gnc:debug "saving report " k)
-			   (if (not (gnc:report-template-save-to-savefile v))
-                               (set! save-ok? #f)
-                          ))))
-		   *gnc:_report-templates_*)
+       (gnc:debug "saving all reports...")
+       ;; On windows, it seems to crash if we try to rename without deleting the old file first.
+       (if (access? temp-path F_OK)
+           (delete-file temp-path))
+       (rename-file gnc:current-saved-reports temp-path)
+       (hash-for-each (lambda (k v)
+                        (if (gnc:report-template-parent-type v)
+                            (begin
+                              (gnc:debug "saving report " k)
+                              (if (not (gnc:report-template-save-to-savefile v))
+                                  (set! save-ok? #f)
+                              ))))
+                      *gnc:_report-templates_*)
     save-ok?))
 
 



More information about the gnucash-changes mailing list