mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
oops cleanup after merge of 1.0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@573 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c3416780c8
commit
9c6d1e8dad
@ -786,15 +786,6 @@ readSplit ( int fd, int token )
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if( 1 >= token ) {
|
||||
/* Note: this is for version 0 of file format only.
|
||||
* What used to be reconciled, is now cleared... transactions
|
||||
* aren't reconciled until you get your bank statement, and
|
||||
* use the reconcile window to mark the transaction reconciled
|
||||
*/
|
||||
if( YREC == recn ) recn = CREC;
|
||||
}
|
||||
|
||||
/* make sure the value of split->reconciled is valid...
|
||||
* Do this mainly in case we change what NREC and
|
||||
* YREC are defined to be... this way it might loose all
|
||||
|
@ -568,7 +568,7 @@ GetSubQIFAccount (AccountGroup *rootgrp, char *qifline, int acc_type)
|
||||
sub_ptr ++;
|
||||
rootgrp = xfer_acc->children;
|
||||
if (!rootgrp) {
|
||||
rootgrp = mallocAccountGroup();
|
||||
rootgrp = xaccMallocAccountGroup();
|
||||
xfer_acc->children = rootgrp;
|
||||
rootgrp->parent = xfer_acc;
|
||||
}
|
||||
@ -602,7 +602,7 @@ xaccGetXferQIFAccount (Account *acc, char *qifline)
|
||||
if(tmp) *tmp = 0x0;
|
||||
|
||||
/* see if the account exists, create it if not */
|
||||
rootgrp = xaccGetRootGroupOfAcct (acc);
|
||||
rootgrp = xaccGetAccountRoot (acc);
|
||||
xfer_acc = GetSubQIFAccount (rootgrp, qifline, acc_type);
|
||||
|
||||
return xfer_acc;
|
||||
@ -695,7 +695,7 @@ char * xaccReadQIFTransaction (int fd, Account *acc)
|
||||
/* Quicken uses C* and Cx, while MS Money uses CX.
|
||||
* I don't know what * and x are supposed to differentiate
|
||||
*/
|
||||
trans->reconciled = CREC;
|
||||
xaccTransSetReconcile (trans, CREC);
|
||||
} else
|
||||
|
||||
/* D == date */
|
||||
|
Loading…
Reference in New Issue
Block a user