[grisbi-cvs] grisbi/src transaction_list.c,1.24,1.25
Pierre Biava
pbiava at users.sourceforge.net
Sat Nov 29 17:19:22 CET 2008
Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25170
Modified Files:
transaction_list.c
Log Message:
correction plantage suppression archive si aucun compte séléctionné.
Index: transaction_list.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/transaction_list.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- transaction_list.c 16 Nov 2008 20:34:25 -0000 1.24
+++ transaction_list.c 29 Nov 2008 16:19:20 -0000 1.25
@@ -527,8 +527,9 @@
}
/* if the archive was showed, modify the visible transactions */
- if (record -> filtered_pos != -1)
+ if ( record -> filtered_pos != -1 && custom_list -> num_visibles_rows > 0 )
{
+ printf ("filtered_pos est différent de -1 et j = %d \n", j );
custom_list -> num_visibles_rows--;
for (j=record -> filtered_pos ; j < custom_list -> num_visibles_rows ; j++)
More information about the cvs
mailing list