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,