[grisbi-cvs] grisbi/src gsb_file_save.c,1.151,1.152
Pierre Biava
pbiava at users.sourceforge.net
Sun Feb 21 00:03:12 CET 2010
- Previous message: [grisbi-cvs] grisbi/src balance_estimate_data.c, 1.5, 1.6 balance_estimate_data.h, 1.4, 1.5 balance_estimate_hist.c, 1.2, 1.3 balance_estimate_hist.h, 1.2, 1.3 balance_estimate_tab.c, 1.42, 1.43 gsb_file_save.c, 1.150, 1.151
- Next message: [grisbi-cvs] grisbi/src balance_estimate_data.c, 1.6, 1.7 balance_estimate_data.h, 1.5, 1.6 balance_estimate_hist.c, 1.3, 1.4 gsb_file_load.c, 1.206, 1.207 gsb_file_save.c, 1.152, 1.153
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/grisbi/grisbi/src
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv20210
Modified Files:
gsb_file_save.c
Log Message:
fixes a crash
Index: gsb_file_save.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_file_save.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- gsb_file_save.c 20 Feb 2010 22:19:46 -0000 1.151
+++ gsb_file_save.c 20 Feb 2010 23:03:10 -0000 1.152
@@ -2629,7 +2629,10 @@
etat.bet_hist_fyear );
lignes = bet_data_get_strings_to_save ( );
- new_string = g_strconcat ( new_string, lignes -> str, "\t\t/>\n", NULL );
+ if ( lignes && lignes -> str )
+ new_string = g_strconcat ( new_string, lignes -> str, "\t\t/>\n", NULL );
+ else
+ new_string = g_strconcat ( new_string, "\t\t/>\n", NULL );
/* append the new string to the file content
* and return the new iterator */
- Previous message: [grisbi-cvs] grisbi/src balance_estimate_data.c, 1.5, 1.6 balance_estimate_data.h, 1.4, 1.5 balance_estimate_hist.c, 1.2, 1.3 balance_estimate_hist.h, 1.2, 1.3 balance_estimate_tab.c, 1.42, 1.43 gsb_file_save.c, 1.150, 1.151
- Next message: [grisbi-cvs] grisbi/src balance_estimate_data.c, 1.6, 1.7 balance_estimate_data.h, 1.5, 1.6 balance_estimate_hist.c, 1.3, 1.4 gsb_file_load.c, 1.206, 1.207 gsb_file_save.c, 1.152, 1.153
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list