mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #348701 Wrong currency symbol when currency is set to DKK
This fix reverts changeset r7200, which caused some currency symbols to be replaced with the EURO sign. This replacement was a workaround for gtkhtml1 and no longer needed. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18563 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
bcec4ce194
commit
2ae9f8697c
@ -284,15 +284,9 @@
|
||||
(xaccPrintAmount datum (gnc-default-print-info #f)))
|
||||
|
||||
(define (gnc:default-html-gnc-monetary-renderer datum params)
|
||||
(let* ((result (xaccPrintAmount
|
||||
(xaccPrintAmount
|
||||
(gnc:gnc-monetary-amount datum)
|
||||
(gnc-commodity-print-info
|
||||
(gnc:gnc-monetary-commodity datum) #t)))
|
||||
(ind (string-index result (integer->char 164))))
|
||||
(if ind
|
||||
(string-append (substring result 0 ind) "€"
|
||||
(substring result (+ 1 ind) (string-length result)))
|
||||
result)))
|
||||
(gnc-commodity-print-info (gnc:gnc-monetary-commodity datum) #t)))
|
||||
|
||||
(define (gnc:default-html-number-renderer datum params)
|
||||
(xaccPrintAmount
|
||||
|
Loading…
Reference in New Issue
Block a user