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:
Mike Evans 2012-10-02 21:44:56 +00:00
parent 9cedbe7b43
commit fb6993ef1c

View File

@ -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);