r15977 - gnucash/trunk/src/app-utils - Fix double variable declaration on non-Windows, introduced by r15973.
Andreas Köhler
andi5 at cvs.gnucash.org
Sun Apr 22 05:03:36 EDT 2007
Author: andi5
Date: 2007-04-22 05:03:34 -0400 (Sun, 22 Apr 2007)
New Revision: 15977
Trac: http://svn.gnucash.org/trac/changeset/15977
Modified:
gnucash/trunk/src/app-utils/gnc-ui-util.c
Log:
Fix double variable declaration on non-Windows, introduced by r15973.
Modified: gnucash/trunk/src/app-utils/gnc-ui-util.c
===================================================================
--- gnucash/trunk/src/app-utils/gnc-ui-util.c 2007-04-22 05:59:51 UTC (rev 15976)
+++ gnucash/trunk/src/app-utils/gnc-ui-util.c 2007-04-22 09:03:34 UTC (rev 15977)
@@ -419,10 +419,9 @@
/* 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);
More information about the gnucash-changes
mailing list