From dde1437f815bdeba18b6fdfb184c86216e8865dd Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Wed, 15 Mar 2006 17:08:08 +0000 Subject: [PATCH] * lib/libqof/backend/file/qsf-backend.c: add Note: it think it's probably wrong to set the locale here. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13639 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 5 +++++ lib/libqof/backend/file/qsf-backend.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 740386c279..45a2aa213b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-15 Derek Atkins + + * lib/libqof/backend/file/qsf-backend.c: add + Note: it think it's probably wrong to set the locale here. + 2006-03-15 Christian Stimming * src/gnome-utils/Makefile.am: Add more linker flags for diff --git a/lib/libqof/backend/file/qsf-backend.c b/lib/libqof/backend/file/qsf-backend.c index 664f052c76..5026ca56c2 100644 --- a/lib/libqof/backend/file/qsf-backend.c +++ b/lib/libqof/backend/file/qsf-backend.c @@ -30,6 +30,7 @@ #include "qsf-dir.h" #include #include +#include /* for setlocale() and LC_ALL */ #define QSF_TYPE_BINARY "binary" #define QSF_TYPE_GLIST "glist" @@ -1248,6 +1249,9 @@ qsf_provider_init(void) { QofBackendProvider *prov; + /* XXX: Do we REALLY want to do this??? Shouldn't the APP + * have already done this? + */ #ifdef ENABLE_NLS setlocale (LC_ALL, ""); bindtextdomain (GETTEXT_PACKAGE, LOCALE_DIR);