[grisbi-cvs] grisbi/src gsb_transactions_list_sort.c,1.21,1.22

Pierre Biava pbiava at users.sourceforge.net
Sat Feb 13 22:36:13 CET 2010


Update of /cvsroot/grisbi/grisbi/src
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv11615

Modified Files:
	gsb_transactions_list_sort.c 
Log Message:
fixed bug 942

Index: gsb_transactions_list_sort.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_transactions_list_sort.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- gsb_transactions_list_sort.c	22 Nov 2009 08:32:00 -0000	1.21
+++ gsb_transactions_list_sort.c	13 Feb 2010 21:36:10 -0000	1.22
@@ -896,13 +896,17 @@
 {
     gint return_value;
 
-    return_value = gsb_data_transaction_get_marked_transaction ( transaction_number_1)- gsb_data_transaction_get_marked_transaction ( transaction_number_2);
+    return_value = gsb_data_transaction_get_marked_transaction (
+                        transaction_number_1)-
+                        gsb_data_transaction_get_marked_transaction (
+                        transaction_number_2);
 
 
     if ( return_value )
-	return return_value;
+	    return return_value;
     else
-	return gsb_transactions_list_sort_by_transaction_date_and_no(transaction_number_1, transaction_number_2);
+	return - gsb_transactions_list_sort_by_transaction_date_and_no (
+                        transaction_number_1, transaction_number_2 );
 }
 
 



More information about the cvs mailing list