changes made:
. rearranged the LABEL commands to be in the same order as the
#defines at the top of the file.
. corrected the LABEL commands to put the right strings greyed out in
each cell when not in single line mode. this causes the labels for
the headers at the top of the register to be out of whack now. I
will look at that now, and see if I can get it right. It might be
so simple as to fill in the headers in reverse order. The right
fix is to get the headers to be double line when in double line
mode, and all such.
rob
diff -c splitreg.c splitreg.c.orig
*** splitreg.c Fri Nov 26 20:33:45 1999
--- splitreg.c.orig Fri Nov 26 19:41:34 1999
***************
*** 50,55 ****
--- 50,56 ----
#define RECN_CELL 3
#define SHRS_CELL 4
#define BALN_CELL 5
+
#define ACTN_CELL 6
#define XFRM_CELL 7
#define XTO_CELL 8
***************
*** 127,145 ****
LABEL (DATE, DATE_STR);
LABEL (NUM, NUM_STR);
! LABEL (DESC, DESC_STR);
! LABEL (RECN, "R");
! LABEL (SHRS, TOT_SHRS_STR);
! LABEL (BALN, BALN_STR);
! LABEL (ACTN, ACCOUNT_STR);
LABEL (XFRM, XFRM_STR);
LABEL (XTO, XFTO_STR);
! LABEL (MEMO, MEMO_STR);
! LABEL (CRED, CREDIT_STR);
LABEL (DEBT, DEBIT_STR);
LABEL (PRIC, PRICE_STR);
LABEL (VALU, VALUE_STR);
! LABEL (MXFRM, XFRM_STR);
/* setup custom labels for the debit/credit columns */
--- 128,147 ----
LABEL (DATE, DATE_STR);
LABEL (NUM, NUM_STR);
! LABEL (ACTN, NUM_STR);
LABEL (XFRM, XFRM_STR);
+ LABEL (MXFRM, XFRM_STR);
LABEL (XTO, XFTO_STR);
! LABEL (DESC, DESC_STR);
! LABEL (MEMO, DESC_STR);
! LABEL (RECN, "R");
LABEL (DEBT, DEBIT_STR);
+ LABEL (CRED, CREDIT_STR);
+
LABEL (PRIC, PRICE_STR);
LABEL (VALU, VALUE_STR);
! LABEL (SHRS, TOT_SHRS_STR);
! LABEL (BALN, BALN_STR);
/* setup custom labels for the debit/credit columns */
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]