gnucash maint: [qif-imp/string] fix argument order for string-delete

Christopher Lam clam at code.gnucash.org
Sun Jul 28 08:05:29 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/e3a695d0 (commit)
	from  https://github.com/Gnucash/gnucash/commit/e8a41bbf (commit)



commit e3a695d0d4c565e55be5d8086e6e7494d8f4c4a8
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jul 28 19:56:45 2019 +0800

    [qif-imp/string] fix argument order for string-delete
    
    Guile formerly used the wrong argument order for string-delete and
    string-filter. Fix to correct order.
    
    See bug report http://savannah.gnu.org/bugs/?31681

diff --git a/gnucash/import-export/qif-imp/string.scm b/gnucash/import-export/qif-imp/string.scm
index f11cddf89..44bea5902 100644
--- a/gnucash/import-export/qif-imp/string.scm
+++ b/gnucash/import-export/qif-imp/string.scm
@@ -98,7 +98,7 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
 (define-public (gnc:string-delete-chars s chars)
-  (string-delete s (lambda (c) (string-index chars c))))
+  (string-delete (lambda (c) (string-index chars c)) s))
 
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



Summary of changes:
 gnucash/import-export/qif-imp/string.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list