[grisbi-cvs] grisbi/src gsb_file_config.c,1.62,1.63

Pierre Biava pbiava at users.sourceforge.net
Sat Jan 17 11:58:32 CET 2009


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23923

Modified Files:
	gsb_file_config.c 
Log Message:
correction bug création répertoire de configuration merci Guillaume

Index: gsb_file_config.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_file_config.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- gsb_file_config.c	17 Jan 2009 07:23:53 -0000	1.62
+++ gsb_file_config.c	17 Jan 2009 10:58:29 -0000	1.63
@@ -120,10 +120,18 @@
             result = gsb_file_config_load_last_xml_config (filename);
             g_free (filename);
             g_key_file_free (config);
+            if ( result )
+            {
+                gsb_file_config_create_config_rep ( );
+                g_remove ( filename );
+            }
             return result;
         }
         else
+        {
+            gsb_file_config_create_config_rep ( );
             g_remove ( filename );
+        }
     }
 
     /* get the geometry */



More information about the cvs mailing list