mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/scm/main.scm -- move (setlocale ...) earlier in the startup.
it needs to run before app-utils is loaded (because gnc_localeconv() caches the first run -- so if that happens before setlocale, you're stuck!) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7262 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
058284bc1c
commit
f3fe12becb
@ -1,3 +1,9 @@
|
||||
2002-10-03 Derek Atkins <derek@ihtfp.com>
|
||||
* src/scm/main.scm -- move (setlocale ...) earlier in the startup.
|
||||
it needs to run before app-utils is loaded (because gnc_localeconv()
|
||||
caches the first run -- so if that happens before setlocale, you're
|
||||
stuck!)
|
||||
|
||||
2002-10-02 Derek Atkins <derek@ihtfp.com>
|
||||
* configure.in: check for ltdl.h
|
||||
|
||||
|
@ -350,6 +350,9 @@ string and 'directories' must be a list of strings."
|
||||
(gnc:debug "starting up (1).")
|
||||
(gnc:setup-debugging)
|
||||
|
||||
;; before doing ANYTHING, set the locale!
|
||||
(setlocale LC_ALL "")
|
||||
|
||||
;; initialize the gnucash module system
|
||||
(gnc:module-system-init)
|
||||
|
||||
@ -362,7 +365,6 @@ string and 'directories' must be a list of strings."
|
||||
|
||||
(gnc:module-load "gnucash/app-utils" 0)
|
||||
(gnc:setup-gettext)
|
||||
(setlocale LC_ALL "")
|
||||
;; Now we can load a bunch of files.
|
||||
(load-from-path "path.scm")
|
||||
(load-from-path "command-line.scm") ;; depends on app-utils (N_, etc.)...
|
||||
|
Loading…
Reference in New Issue
Block a user