gnucash stable: Fix two typos.

John Ralls jralls at code.gnucash.org
Fri Jul 21 16:57:51 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/50418527 (commit)
	from  https://github.com/Gnucash/gnucash/commit/086bf3b3 (commit)



commit 50418527b026c80a878d24beaf52ce547ace11fc
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Jul 21 13:50:20 2023 -0700

    Fix two typos.

diff --git a/bindings/guile/options.scm b/bindings/guile/options.scm
index 6cf904c1eb..10bc85d034 100644
--- a/bindings/guile/options.scm
+++ b/bindings/guile/options.scm
@@ -304,7 +304,7 @@
     (gnc-make-qofinstance-option section name key docstring defval (GncOptionUIType-INVOICE))))
 (define-public (gnc:make-taxtable-option section name key docstring default)
   (issue-deprecation-warning "gnc:make-taxtable-option is deprecated. Make and register the option in one command with gnc-register-taxtable-option.")
-  (gnc-make-qofinstance-option section name key docstring default (GncOptionUIType-TAX_TABLE)))
+  (gnc-make-qofinstance-option section name key docstring default (GncOptionUIType-TAX-TABLE)))
 (define-public (gnc:make-counter-option section name key docstring default)
   (issue-deprecation-warning "gnc:make-number-range-option is deprecated. Make and register the option in one command with gnc-register-number-range-option.")
   (gnc-make-range-value-option section name key docstring default 0.0 999999999.0 1.0))
@@ -314,7 +314,7 @@
   (gnc-make-string-option section name key docstring default (GncOptionUIType-STRING)))
 (define-public (gnc:make-date-format-option section name key docstring default)
   (issue-deprecation-warning "gnc:make-date-format-option is deprecated. Make and register the option in one command with gnc-register-date-format-option.")
-  (gnc-make-string-option section name key docstring default (GncOptionUIType-DATE_FORMAT)))
+  (gnc-make-string-option section name key docstring default (GncOptionUIType-DATE-FORMAT)))
 (define-public (gnc:make-currency-option section name key docstring default)
   (issue-deprecation-warning "gnc:make-currency-option is deprecated. Make and register the option in one command with gnc-register-currency-option.")
   (gnc-make-currency-option section name key docstring default))



Summary of changes:
 bindings/guile/options.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list