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

Pierre Biava pbiava at users.sourceforge.net
Tue Nov 11 15:44:31 CET 2008


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

Modified Files:
	gsb_data_account.c 
Log Message:
retour en arrière sur le calcul de marked_balance. Point à éclaircir : gestion des soldes pointés.

Index: gsb_data_account.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_data_account.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- gsb_data_account.c	11 Nov 2008 13:55:33 -0000	1.57
+++ gsb_data_account.c	11 Nov 2008 14:44:29 -0000	1.58
@@ -971,7 +971,7 @@
     struct_account *account;
     GSList *tmp_list;
     gsb_real current_balance;
-    gsb_real marked_balance = null_real;
+    gsb_real marked_balance;
     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 ();
 
@@ -1129,8 +1129,6 @@
 	return null_real;
 
     floating_point = gsb_data_currency_get_floating_point (account -> currency);
-    //~ 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