[grisbi-cvs] grisbi/src import.c,1.291,1.292
Mickaƫl Remars
mykeul at users.sourceforge.net
Wed Sep 16 20:30:46 CEST 2009
Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv26196
Modified Files:
import.c
Log Message:
Fixed the msvc build
Index: import.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/import.c,v
retrieving revision 1.291
retrieving revision 1.292
diff -u -d -r1.291 -r1.292
--- import.c 12 Sep 2009 19:33:40 -0000 1.291
+++ import.c 16 Sep 2009 18:30:42 -0000 1.292
@@ -2472,6 +2472,7 @@
if (origine && g_ascii_strcasecmp (origine, "OFX") == 0 )
{
+ gchar *buffer;
gint payment_number = 0;
switch ( imported_transaction -> type_de_transaction )
@@ -2483,7 +2484,7 @@
gsb_data_transaction_set_method_of_payment_number (transaction_number,
payment_number);
/* we get the check number */
- gchar *buffer = g_malloc0 ( 12*sizeof (gchar) );
+ buffer = g_malloc0 ( 12*sizeof (gchar) );
g_ascii_formatd ( buffer,12,"%.0f", imported_transaction -> cheque);
gsb_data_transaction_set_method_of_payment_content (
transaction_number, buffer );
More information about the cvs
mailing list