[grisbi-cvs] grisbi/src gsb_file_config.c,1.64,1.65

Pierre Biava pbiava at users.sourceforge.net
Sat Jan 24 17:11:20 CET 2009


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

Modified Files:
	gsb_file_config.c 
Log Message:
correction bug g_slist_length (liste) == 0 in gsb_config_get_old_conf_name ()

Index: gsb_file_config.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_file_config.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- gsb_file_config.c	18 Jan 2009 18:20:03 -0000	1.64
+++ gsb_file_config.c	24 Jan 2009 16:11:17 -0000	1.65
@@ -1340,6 +1340,10 @@
     }
     else
         dialogue_error ( error -> message );
+
+    if ( g_slist_length ( liste ) == 0 )
+        return NULL;
+
     if ( g_slist_length ( liste ) == 1 )
         return g_strconcat ( my_get_grisbirc_dir ( ),
                             G_DIR_SEPARATOR_S,



More information about the cvs mailing list