[grisbi-cvs] grisbi/src export_csv.c,1.25,1.26

Pierre Biava pbiava at users.sourceforge.net
Fri Jan 1 10:57:32 CET 2010


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

Modified Files:
	export_csv.c 
Log Message:
fixes a bug in the export of an operation marked

Index: export_csv.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/export_csv.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- export_csv.c	19 Nov 2009 20:13:45 -0000	1.25
+++ export_csv.c	1 Jan 2010 09:57:27 -0000	1.26
@@ -458,15 +458,19 @@
         CSV_CLEAR_FIELD (csv_field_pointage);
 	switch ( gsb_data_transaction_get_marked_transaction ( transaction_number ) )
 	{
-	    case 0: /* CHECKED_TRANSACTION */
-		csv_field_pointage = my_strdup ("C");
+	    case OPERATION_NORMALE:
+            csv_field_pointage = my_strdup ("");
 		break;
-	    case 1: /* RECONCILED_TRANSACTION */
-		csv_field_pointage = my_strdup ("R");
+	    case OPERATION_POINTEE:
+            csv_field_pointage = my_strdup ("P");
 		break;
-	    case 2: /* TELECHECKED_TRANSACTION */
-		csv_field_pointage = my_strdup ("T");
+	    case OPERATION_TELERAPPROCHEE:
+            csv_field_pointage = my_strdup ("T");
 		break;
+	    case OPERATION_RAPPROCHEE:
+            csv_field_pointage = my_strdup ("R");
+		break;
+
 	}
 
 	/* met les notes */



More information about the cvs mailing list