[grisbi-cvs] grisbi/src gsb_file_load.c,1.168,1.169

Pierre Biava pbiava at users.sourceforge.net
Sun May 3 14:46:59 CEST 2009


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

Modified Files:
	gsb_file_load.c 
Log Message:
back to accept reconcile_number = 0

Index: gsb_file_load.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_file_load.c,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -d -r1.168 -r1.169
--- gsb_file_load.c	3 May 2009 11:33:00 -0000	1.168
+++ gsb_file_load.c	3 May 2009 12:46:56 -0000	1.169
@@ -7486,24 +7486,23 @@
 	    while ( list_tmp_transactions )
 	    {
             gint transaction_number;
-            gint reconcile_number;
             
             transaction_number = gsb_data_transaction_get_transaction_number (
                         list_tmp_transactions -> data);
 
             /* ok first we work only with reconciled transactions */
             if ( gsb_data_transaction_get_marked_transaction (
-                            transaction_number) == OPERATION_RAPPROCHEE 
-                &&
-                (reconcile_number = gsb_data_transaction_get_reconcile_number (
-                        transaction_number )) > 0 )
+                            transaction_number) == OPERATION_RAPPROCHEE )
             {
+                gint reconcile_number;
                 gint account_number;
                 gint reconcile_account;
                 const GDate *date_reconcile;
                 const GDate *date_transaction;
                 gboolean trouve = FALSE;
 
+                reconcile_number = gsb_data_transaction_get_reconcile_number (
+                        transaction_number );
                 reconcile_account = gsb_data_reconcile_get_account ( reconcile_number );
 
                 account_number = gsb_data_transaction_get_account_number (



More information about the cvs mailing list