fix various tab->3 spaces, tab->8 spaces indentation problems

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6879 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2002-05-19 16:32:59 +00:00
parent 59e52d8714
commit 54be97345b
5 changed files with 43 additions and 43 deletions

View File

@ -993,10 +993,10 @@ xaccAccountRemoveSplit (Account *acc, Split *split)
xaccTransBeginEdit (trans);
xaccSplitSetAccount(split, NULL);
if (split->lot)
{
gnc_lot_remove_split (split->lot, split);
}
if (split->lot)
{
gnc_lot_remove_split (split->lot, split);
}
xaccTransCommitEdit (trans);
mark_account (acc);
@ -2053,15 +2053,15 @@ xaccAccountTypesCompatible (GNCAccountType parent_type,
case RECEIVABLE:
case PAYABLE:
compatible = ((child_type == BANK) ||
(child_type == CASH) ||
(child_type == ASSET) ||
(child_type == STOCK) ||
(child_type == MUTUAL) ||
(child_type == CURRENCY) ||
(child_type == CASH) ||
(child_type == ASSET) ||
(child_type == STOCK) ||
(child_type == MUTUAL) ||
(child_type == CURRENCY) ||
(child_type == CREDIT) ||
(child_type == LIABILITY)||
(child_type == RECEIVABLE)||
(child_type == PAYABLE));
(child_type == PAYABLE));
break;
case INCOME:
case EXPENSE:
@ -2483,7 +2483,7 @@ xaccAccountSetReconcileChildrenStatus(Account *account, gboolean status)
frame = kvp_frame_get_frame (account->kvp_data, "reconcile-info", NULL);
kvp_frame_set_slot_nc (frame,
"include-children",
"include-children",
status ? kvp_value_new_gint64 (status) : NULL);
account->core_dirty = TRUE;
xaccAccountCommitEdit (account);

View File

@ -49,17 +49,17 @@
typedef const char * GNCIdType;
typedef const char * GNCIdTypeConst;
#define GNC_ID_NONE NULL
#define GNC_ID_ACCOUNT "Account"
#define GNC_ID_BOOK "Book"
#define GNC_ID_FREQSPEC "FreqSpec"
#define GNC_ID_LOT "Lot"
#define GNC_ID_NULL "null"
#define GNC_ID_PRICE "Price"
#define GNC_ID_SPLIT "Split"
#define GNC_ID_SCHEDXACTION "SchedXaction"
#define GNC_ID_SESSION "Session"
#define GNC_ID_TRANS "Trans"
#define GNC_ID_NONE NULL
#define GNC_ID_ACCOUNT "Account"
#define GNC_ID_BOOK "Book"
#define GNC_ID_FREQSPEC "FreqSpec"
#define GNC_ID_LOT "Lot"
#define GNC_ID_NULL "null"
#define GNC_ID_PRICE "Price"
#define GNC_ID_SPLIT "Split"
#define GNC_ID_SCHEDXACTION "SchedXaction"
#define GNC_ID_SESSION "Session"
#define GNC_ID_TRANS "Trans"
/* Return the type of an identifier. */
GNCIdType xaccGUIDType (const GUID * guid, GNCBook *book);

View File

@ -75,7 +75,7 @@ const char *void_former_val_str = "void-former-value";
#define PRICE_SIGFIGS 6
#define ISO_DATELENGTH 30 /* length of an iso 8601 date string.
* not sure, can't be bothered counting :) */
* not sure, can't be bothered counting :) */
/* This static indicates the debugging module that this .o belongs to. */
static short module = MOD_ENGINE;
@ -2009,7 +2009,7 @@ xaccSplitDestroy (Split *split)
xaccTransRemoveSplit (trans, split);
}
/* Note: split is removed from lot when its removed from accoount */
/* Note: split is removed from lot when its removed from accoount */
xaccAccountRemoveSplit (xaccSplitGetAccount(split), split);
xaccAccountRecomputeBalance (xaccSplitGetAccount(split));
@ -2215,18 +2215,18 @@ get_corr_account_split(Split *sa, Split **retval)
current_value = xaccSplitGetValue(current_split);
current_value_positive = gnc_numeric_positive_p(current_value);
if((sa_value_positive && !current_value_positive) ||
(!sa_value_positive && current_value_positive))
(!sa_value_positive && current_value_positive))
{
if(seen_different)
{
*retval = NULL;
return TRUE;
}
else
{
seen_different = TRUE;
*retval = current_split;
}
if(seen_different)
{
*retval = NULL;
return TRUE;
}
else
{
seen_different = TRUE;
*retval = current_split;
}
}
}
}
@ -2942,7 +2942,7 @@ xaccIsPeerSplit (Split *sa, Split *sb)
void
xaccTransVoid(Transaction *transaction,
const char *reason)
const char *reason)
{
kvp_frame *frame;
kvp_value *val;

View File

@ -47,7 +47,7 @@ struct gnc_book_struct
/* The entity table associates the GUIDs of all the objects
* belonging to this book, with their pointers to the respective
* objects. This allows a lookup of objects based on thier guid.
* objects. This allows a lookup of objects based on thier guid.
*/
GNCEntityTable *entity_table;

View File

@ -320,8 +320,8 @@ book_sxns_mark_saved(GNCBook *book)
{
book->sx_notsaved = FALSE;
g_list_foreach(gnc_book_get_schedxactions(book),
mark_sx_clean,
NULL);
mark_sx_clean,
NULL);
return;
}
@ -369,10 +369,10 @@ gnc_book_not_saved(GNCBook *book)
return(xaccGroupNotSaved(book->topgroup)
||
gnc_pricedb_dirty(book->pricedb)
||
book_sxlist_notsaved(book)
||
gncObjectIsDirty (book));
||
book_sxlist_notsaved(book)
||
gncObjectIsDirty (book));
}
/* ====================================================================== */