Author: Ludovic Rousseau <ludovic.rousseau@free.fr>
Date:   Sat Sep 16 22:21:46 2017 +0200

Description: Use english format for number in QIF export
    
    Fixes Debian bug #742777
    " grisbi: qif export - wrong amount format (french while should be
     english in all cases) "

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742777
Origin: upstream, https://github.com/grisbi/grisbi/commit/2e6b81e1e40a4472e5b64dd7792f89b927b026ad

diff --git a/src/qif.c b/src/qif.c
index 5d841bc5..77661147 100644
--- a/src/qif.c
+++ b/src/qif.c
@@ -884,7 +884,7 @@ gboolean qif_export ( const gchar *filename,
 			  g_date_get_year (gsb_data_transaction_get_date (transaction_number_tmp)));
 
 		/* met le solde initial */
-		tmpstr = utils_real_get_string (gsb_data_account_get_init_balance (account_nb, -1));
+		tmpstr = utils_real_get_string_intl (gsb_data_account_get_init_balance (account_nb, -1));
 		fprintf ( fichier_qif,
 			  "T%s\n",
 			  tmpstr);
@@ -939,7 +939,7 @@ gboolean qif_export ( const gchar *filename,
 
 
 		/* met le montant, transforme la devise si necessaire */
-		tmpstr = utils_real_get_string (gsb_data_transaction_get_adjusted_amount ( transaction_number_tmp, floating_point));
+		tmpstr = utils_real_get_string_intl (gsb_data_transaction_get_adjusted_amount ( transaction_number_tmp, floating_point));
 		fprintf ( fichier_qif,
 			  "T%s\n",
 			  tmpstr);
@@ -1034,7 +1034,7 @@ gboolean qif_export ( const gchar *filename,
 
 			    /* set the amount of the split child */
 
-			    tmpstr = utils_real_get_string (gsb_data_transaction_get_adjusted_amount (transaction_number_tmp_2, floating_point));
+			    tmpstr = utils_real_get_string_intl (gsb_data_transaction_get_adjusted_amount (transaction_number_tmp_2, floating_point));
 			    fprintf ( fichier_qif,
 				      "$%s\n",
 				      tmpstr);
