mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user