[grisbi-cvs] grisbi/src gsb_data_payee.c,1.52,1.53

Pierre Biava pbiava at users.sourceforge.net
Sat Apr 24 20:23:32 CEST 2010


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

Modified Files:
	gsb_data_payee.c 
Log Message:
Corrects a warning message gtk

Index: gsb_data_payee.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_data_payee.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- gsb_data_payee.c	3 Apr 2010 19:57:41 -0000	1.52
+++ gsb_data_payee.c	24 Apr 2010 18:23:30 -0000	1.53
@@ -459,7 +459,10 @@
 
         payee = tmp_list -> data;
 
-        return_list = g_slist_insert_sorted ( return_list, payee -> payee_name, (GCompareFunc) g_utf8_collate );
+        if ( payee -> payee_name )
+            return_list = g_slist_insert_sorted ( return_list, payee -> payee_name,
+                        (GCompareFunc) g_utf8_collate );
+
         tmp_list = tmp_list -> next;
     }
     return return_list;



More information about the cvs mailing list