>>>>> On Fri, 26 Nov 1999 21:07:48 -0800 (PST), Rob Walker
>>>>> <[EMAIL PROTECTED]> said:

Rob> changes made:

Rob> .  rearranged the LABEL commands to be in the same order as the
Rob> #defines at the top of the file.

Rob> .  corrected the LABEL commands to put the right strings greyed
Rob> out in each cell when not in single line mode.  this causes the
Rob> labels for the headers at the top of the register to be out of
Rob> whack now.  I will look at that now, and see if I can get it
Rob> right.  It might be so simple as to fill in the headers in
Rob> reverse order.  The right fix is to get the headers to be double
Rob> line when in double line mode, and all such.

Rob> rob


Rob> diff -c splitreg.c splitreg.c.orig

oh, hey, I apologize.  I didn't realize until just now that I was
supposed to have run "diff -u" on that code.  here is the real patch.

and will someone please tell me that I have the command line arguments 
in the right order?

rob


$ diff -u src/register/splitreg.c src/register/splitreg.c.orig
--- src/register/splitreg.c     Sat Nov 27 16:13:25 1999
+++ src/register/splitreg.c.orig        Fri Nov 26 19:41:34 1999
@@ -50,6 +50,7 @@
 #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,20 +128,20 @@

    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 (ACTN,  NUM_STR);
    LABEL (XFRM,  XFRM_STR);
+   LABEL (MXFRM, XFRM_STR);
    LABEL (XTO,   XFTO_STR);
-   LABEL (MEMO,  MEMO_STR);
-   /* the next two are not needed, due to the switch statement */
-   /* LABEL (CRED,  CREDIT_STR); */
-   /* LABEL (DEBT,  DEBIT_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 (MXFRM, XFRM_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]

Reply via email to