Skip to content

Commit

Permalink
Add an additional test that hopefully will shed more light on bug
Browse files Browse the repository at this point in the history
666855.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22026 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
gjanssens committed Feb 15, 2012
1 parent 5c48dc2 commit f7a1b07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gnome/assistant-hierarchy.c
Expand Up @@ -191,6 +191,11 @@ gnc_get_ea_locale_dir(const char *top_dir)
/* On win32, setlocale() doesn't say anything useful. Use
glib's function instead. */
locale = g_win32_getlocale();
if (!locale)
{
PWARN ("Couldn't retrieve locale. Falling back to default one.")
locale = g_strdup ("C");
}
# else
/*
* Mac OS X 10.1 and earlier, not only doesn't have LC_MESSAGES
Expand Down

0 comments on commit f7a1b07

Please sign in to comment.