From ac12d3226e0ac9b02962cf64c270391506542dd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benoit=20Gr=C3=A9goire?= Date: Tue, 12 Nov 2002 13:36:49 +0000 Subject: [PATCH] =?UTF-8?q?2002-11-12=20=20Benoit=20Gr=EF=BF=BDgoire=20=20?= =?UTF-8?q?=20=09*=20src/import-export/ofx/gnc-ofx-i?= =?UTF-8?q?mport.c:=20Fix=20call=20to=20=09g=5Fstrdup=5Fprintf=20in=20Chri?= =?UTF-8?q?stian's=202002-11-03=20translation=20patch.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7470 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 4 ++++ src/import-export/ofx/gnc-ofx-import.c | 13 ++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 903aa0fe2c..8dc057f167 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-11-12 Benoit Grégoire + * src/import-export/ofx/gnc-ofx-import.c: Fix call to + g_strdup_printf in Christian's 2002-11-03 translation patch. + 2002-11-12 Benoit Grégoire * src/import-export/Transaction-matcher.c * src/import-export/generic-import.glade: First round of diff --git a/src/import-export/ofx/gnc-ofx-import.c b/src/import-export/ofx/gnc-ofx-import.c index d1df79019c..6bda76c037 100644 --- a/src/import-export/ofx/gnc-ofx-import.c +++ b/src/import-export/ofx/gnc-ofx-import.c @@ -296,13 +296,12 @@ int ofx_proc_transaction_cb(struct OfxTransactionData data) NULL); if(investment_commodity!=NULL) { - g_strdup_printf(investment_account_text, - /* This string is a default account - name. It MUST NOT contain the - character ':' anywhere in it or - in any translations. */ - _("Stock account for security \"%s\""), - data.security_data_ptr->secname); + investment_account_text = g_strdup_printf( /* This string is a default account + name. It MUST NOT contain the + character ':' anywhere in it or + in any translations. */ + _("Stock account for security \"%s\""), + data.security_data_ptr->secname); investment_account = gnc_import_select_account(data.unique_id, 1, investment_account_text,