[grisbi-cvs] grisbi/src gsb_file_others.c,1.29,1.30

Pierre Biava pbiava at users.sourceforge.net
Thu Oct 8 21:02:53 CEST 2009


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

Modified Files:
	gsb_file_others.c 
Log Message:
add CO_.png

Index: gsb_file_others.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_file_others.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- gsb_file_others.c	7 Oct 2009 21:46:21 -0000	1.29
+++ gsb_file_others.c	8 Oct 2009 19:02:51 -0000	1.30
@@ -580,6 +580,11 @@
     }
 
     file_content = gsb_string_uniform_new_line ( file_content, 37 );
+    if ( !file_content )
+    {
+        dialogue_error ( _("This is not a grisbi file, loading canceled..."));
+        return FALSE;
+    }
 
     switch ( origin )
     {



More information about the cvs mailing list