[grisbi-cvs] grisbi/src gsb_data_reconcile.c,1.19,1.20
Pierre Biava
pbiava at users.sourceforge.net
Sat Nov 21 12:06:54 CET 2009
- Previous message: [grisbi-cvs] grisbi/win32-msvc CMakeLists.txt, 1.11, 1.12 prepare.cmd, 1.4, 1.5
- Next message: [grisbi-cvs] grisbi/src categories_onglet.c, 1.200, 1.201 gsb_data_transaction.c, 1.74, 1.75 gsb_transactions_list_sort.c, 1.20, 1.21 gtk_combofix.c, 1.63, 1.64 imputation_budgetaire.c, 1.161, 1.162 tiers_onglet.c, 1.168, 1.169
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20449
Modified Files:
gsb_data_reconcile.c
Log Message:
fixed bug 738
Index: gsb_data_reconcile.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_data_reconcile.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- gsb_data_reconcile.c 8 May 2009 17:21:15 -0000 1.19
+++ gsb_data_reconcile.c 21 Nov 2009 11:06:52 -0000 1.20
@@ -754,13 +754,19 @@
gint gsb_data_reconcile_cmp_int (struct_reconcile *reconcile_1,
struct_reconcile *reconcile_2)
{
+ gint result;
+
if ( ! reconcile_1 -> reconcile_final_date )
return -1;
else if ( ! reconcile_2 -> reconcile_final_date )
return 1;
else
- return g_date_compare ( reconcile_1 -> reconcile_final_date,
+ result = g_date_compare ( reconcile_1 -> reconcile_final_date,
reconcile_2 -> reconcile_final_date );
+ if (result == 0 )
+ return reconcile_1 -> reconcile_number - reconcile_2 -> reconcile_number;
+ else
+ return result;
}
/* Local Variables: */
/* c-basic-offset: 4 */
- Previous message: [grisbi-cvs] grisbi/win32-msvc CMakeLists.txt, 1.11, 1.12 prepare.cmd, 1.4, 1.5
- Next message: [grisbi-cvs] grisbi/src categories_onglet.c, 1.200, 1.201 gsb_data_transaction.c, 1.74, 1.75 gsb_transactions_list_sort.c, 1.20, 1.21 gtk_combofix.c, 1.63, 1.64 imputation_budgetaire.c, 1.161, 1.162 tiers_onglet.c, 1.168, 1.169
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list