gnucash maint: Bug 797750 - SIGSEV in swig-engine.c

John Ralls jralls at code.gnucash.org
Fri May 15 15:37:35 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/659f785c (commit)
	from  https://github.com/Gnucash/gnucash/commit/4e9990dd (commit)



commit 659f785cb81396412e503b4d8f5fe22ceb3f39df
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri May 15 12:37:24 2020 -0700

    Bug 797750 - SIGSEV in swig-engine.c

diff --git a/gnucash/report/locale-specific/us/taxtxf-de_DE.scm b/gnucash/report/locale-specific/us/taxtxf-de_DE.scm
index c9ff0b69f..403ae082b 100644
--- a/gnucash/report/locale-specific/us/taxtxf-de_DE.scm
+++ b/gnucash/report/locale-specific/us/taxtxf-de_DE.scm
@@ -563,7 +563,7 @@
                              (set-tm:mon bdtm 7))
                             ((4th-est 4th-last last-year) ; Dec 31
                              (set-tm:mon bdtm 11)) 
-                            (else (set! bdtm (gnc-mktime to-value))))
+                            (else (set! bdtm (gnc-localtime to-value))))
                           ;; Tax quaters equal Real quarters
                           (case alt-period
                             ((1st-est 1st-last) ; Mar 31
@@ -577,7 +577,7 @@
                             ((4th-est 4th-last last-year) ; Dec 31
                              (set-tm:mon bdtm 11))
                             (else 
-                             (set! bdtm (gnc-mktime to-value)))))
+                             (set! bdtm (gnc-localtime to-value)))))
                       (set-tm:isdst bdtm -1)
                       (gnc-mktime bdtm))))
 



Summary of changes:
 gnucash/report/locale-specific/us/taxtxf-de_DE.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list