[grisbi-cvs] grisbi/src gsb_data_account.c,1.56,1.57

Pierre Biava pbiava at users.sourceforge.net
Tue Nov 11 14:55:35 CET 2008


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

Modified Files:
	gsb_data_account.c 
Log Message:
Correction bug réconciliation comptes avec solde initial non nul 
(voir liste grisbi-devel problème de rapprochement avec la version CVS)

Index: gsb_data_account.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_data_account.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- gsb_data_account.c	21 Oct 2008 08:05:18 -0000	1.56
+++ gsb_data_account.c	11 Nov 2008 13:55:33 -0000	1.57
@@ -971,7 +971,7 @@
     struct_account *account;
     GSList *tmp_list;
     gsb_real current_balance;
-    gsb_real marked_balance;
+    gsb_real marked_balance = null_real;
     gint floating_point;
 
     account = gsb_data_account_get_structure ( account_number );
@@ -983,8 +983,8 @@
 
     current_balance = gsb_real_adjust_exponent ( account -> init_balance,
 						 floating_point );
-    marked_balance = gsb_real_adjust_exponent ( account -> init_balance,
-						floating_point );
+    //~ marked_balance = gsb_real_adjust_exponent ( account -> init_balance,
+						//~ floating_point );
 
     tmp_list = gsb_data_transaction_get_complete_transactions_list ();
 
@@ -1120,7 +1120,7 @@
 {
     struct_account *account;
     GSList *tmp_list;
-    gsb_real marked_balance;
+    gsb_real marked_balance = null_real;
     gint floating_point;
 
     account = gsb_data_account_get_structure ( account_number );
@@ -1129,8 +1129,8 @@
 	return null_real;
 
     floating_point = gsb_data_currency_get_floating_point (account -> currency);
-    marked_balance = gsb_real_adjust_exponent ( account -> init_balance,
-						floating_point );
+    //~ marked_balance = gsb_real_adjust_exponent ( account -> init_balance,
+						//~ floating_point );
 
     tmp_list = gsb_data_transaction_get_complete_transactions_list ();
 



More information about the cvs mailing list