Was this patch rejected? I still get the error when putting in the test 
input above. Using Ledger 3.0.2-20140507 on OS X 10.9.4, installed via 
Homebrew.

Dave


On Thursday, November 3, 2011 8:35:27 PM UTC-7, Craig Earls wrote:
>
> John,
>    If you have the source for 3.0 and can't wait for a fix through the
> normal channel, open up report.h and at line 437 replace the budget
> format string with:
>
>          "%(justify(scrub(get_at(total_expr, 0)), 12, -1, true, color))"
>          " %(justify(-scrub(get_at(total_expr, 1)), 12, "
>          "           12 + 1 + 12, true, color))"
>          " %(justify(scrub(get_at(total_expr, 1) + "
>          "                 get_at(total_expr, 0)), 12, "
>          "           12 + 1 + 12 + 1 + 12, true, color))"
>          " %(ansify_if("
>          "   justify((get_at(total_expr, 1) ? "
>          "            (100% * quantity(scrub(get_at(total_expr, 0)))) / "
>          "             -quantity(scrub(get_at(total_expr, 1))) : 0), "
>          "           5, -1, true, false),"
>          "   magenta if (color and get_at(total_expr, 1) and "
>          "               (abs(quantity(scrub(get_at(total_expr, 0))) / "
>          "                    quantity(scrub(get_at(total_expr, 1)))) >= 
> 1))))"
>          "  %(!options.flat ? depth_spacer : \"\")"
>          "%-(ansify_if(partial_account(options.flat), blue if color))\n"
>          "%/%$1 %$2 %$3 %$4\n%/"
>          "%(prepend_width ? \" \" * prepend_width : \"\")"
>          "------------ ------------ ------------ -----\n"
>
> then rebuild the program (lengthy since many components are dependent
> on this header)
>
> I have entered a bug report and a pull request to incorporate the fix.
>
>
> On Thu, Nov 3, 2011 at 19:07, John Rakestraw <li...@johnrakestraw.com 
> <javascript:>> wrote:
> >
> > Thanks!
> >
>
> --
> Craig, Corona De Tucson, AZ
> enderw88.wordpress.com
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to