mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Re-indentation of source code.
Done using the following options: astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=noneR git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22433 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9cedbe7b43
commit
fb6993ef1c
@ -347,27 +347,27 @@ gnc_customer_import_create_customers (GtkListStore *store, QofBook *book, guint
|
||||
{
|
||||
if (g_ascii_strcasecmp (type, "CUSTOMER") == 0)
|
||||
{
|
||||
customer = gnc_search_customer_on_id (book, id);
|
||||
if (!customer)
|
||||
{
|
||||
customer = gncCustomerCreate( book );
|
||||
gncCustomerSetCurrency( customer, gnc_default_currency() );
|
||||
(*n_customers_created)++;
|
||||
customer = gnc_search_customer_on_id (book, id);
|
||||
if (!customer)
|
||||
{
|
||||
customer = gncCustomerCreate( book );
|
||||
gncCustomerSetCurrency( customer, gnc_default_currency() );
|
||||
(*n_customers_created)++;
|
||||
}
|
||||
else (*n_customers_updated)++;
|
||||
else (*n_customers_updated)++;
|
||||
}
|
||||
else if (g_ascii_strcasecmp (type, "VENDOR") == 0)
|
||||
{
|
||||
vendor = gnc_search_vendor_on_id (book, id);
|
||||
if ( !vendor)
|
||||
{
|
||||
vendor = gncVendorCreate( book );
|
||||
gncVendorSetCurrency( vendor, gnc_default_currency() );
|
||||
(*n_customers_created)++;
|
||||
vendor = gnc_search_vendor_on_id (book, id);
|
||||
if ( !vendor)
|
||||
{
|
||||
vendor = gncVendorCreate( book );
|
||||
gncVendorSetCurrency( vendor, gnc_default_currency() );
|
||||
(*n_customers_created)++;
|
||||
}
|
||||
else (*n_customers_updated)++;
|
||||
else (*n_customers_updated)++;
|
||||
}
|
||||
|
||||
|
||||
if (g_ascii_strcasecmp (type, "CUSTOMER") == 0)
|
||||
{
|
||||
gncCustomerBeginEdit (customer);
|
||||
|
Loading…
Reference in New Issue
Block a user