Fix double variable declaration on non-Windows, introduced by r15973.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15977 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler
2007-04-22 09:03:34 +00:00
parent 434905ea1a
commit 106f83b1b4

View File

@@ -419,10 +419,9 @@ gnc_ui_account_get_tax_info_string (const Account *account)
/* This is a very simple hack that loads the (new, special) German
tax definition file in a German locale, or (default) loads the
previous US tax file. */
gboolean is_de_DE;
# ifdef G_OS_WIN32
gchar *thislocale = g_win32_getlocale();
is_de_DE = (strncmp(thislocale, "de_DE", 5) == 0);
gboolean is_de_DE = (strncmp(thislocale, "de_DE", 5) == 0);
g_free(thislocale);
# else /* !G_OS_WIN32 */
const char *thislocale = setlocale(LC_ALL, NULL);