mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
* lib/libqof/backend/file/qsf-backend.c: add <locale.h>
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
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-03-15 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* lib/libqof/backend/file/qsf-backend.c: add <locale.h>
|
||||
Note: it think it's probably wrong to set the locale here.
|
||||
|
||||
2006-03-15 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* src/gnome-utils/Makefile.am: Add more linker flags for
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "qsf-dir.h"
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#include <locale.h> /* 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);
|
||||
|
||||
Reference in New Issue
Block a user