[grisbi-cvs] grisbi/src main.c,1.160,1.161

Gunee guneemwelloeux at users.sourceforge.net
Sun Jan 24 00:29:29 CET 2010


Update of /cvsroot/grisbi/grisbi/src
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv22846

Modified Files:
	main.c 
Log Message:
Fixed compatibility problem with MSVC

Index: main.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/main.c,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- main.c	8 Jan 2010 19:24:35 -0000	1.160
+++ main.c	23 Jan 2010 23:29:27 -0000	1.161
@@ -109,6 +109,7 @@
     gboolean first_use = FALSE;
     gchar *string;
     gchar *path;
+	struct lconv *conv;
 
 #ifndef _WIN32
     struct sigaction sig_sev;
@@ -182,7 +183,7 @@
     register_import_formats ();
 
     /* test locale pour les nombres */
-    struct lconv *conv = localeconv ( );
+	conv = localeconv();
     
     printf ("currency_symbol = %s\n"
             "mon_thousands_sep = \"%s\"\n"



More information about the cvs mailing list