* src/scm/path.scm (gnc:locale-prefixes): () -> '().

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5642 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Rob Browning 2001-10-14 17:53:33 +00:00
parent 013a2f69df
commit f6ae2a7f0f

View File

@ -17,8 +17,8 @@
(define (gnc:locale-prefixes)
(let* ((locale (setlocale LC_MESSAGES))
(strings (cond ((not (string? locale)) ())
((equal? locale "C") ())
(strings (cond ((not (string? locale)) '())
((equal? locale "C") '())
((<= (string-length locale) 2) (list locale))
(else (list (substring locale 0 2) locale)))))
(reverse (cons "C" strings))))