[grisbi-cvs] grisbi/src gsb_file_save.c,1.149,1.150

Pierre Biava pbiava at users.sourceforge.net
Mon Feb 15 19:35:11 CET 2010


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

Modified Files:
	gsb_file_save.c 
Log Message:
fixes bug 955

Index: gsb_file_save.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_file_save.c,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- gsb_file_save.c	14 Feb 2010 17:48:50 -0000	1.149
+++ gsb_file_save.c	15 Feb 2010 18:35:08 -0000	1.150
@@ -1360,6 +1360,12 @@
         payee_number = gsb_data_payee_get_no_payee (list_tmp -> data);
         /* now we can fill the file content */
 
+        if ( gsb_data_payee_get_name ( payee_number, TRUE ) == NULL )
+        {
+            list_tmp = list_tmp -> next;
+            continue;
+        }
+
         new_string = g_markup_printf_escaped ( 
                             "\t<Party Nb=\"%d\" Na=\"%s\" Txt=\"%s\" Search=\"%s\" />\n",
                             payee_number,



More information about the cvs mailing list