[Gnucash-changes] r13140 - gnucash/trunk/src/bin - Recompute argc after argv may have changed.

David Hampton hampton-gnucash at rainbolthampton.net
Tue Feb 7 15:03:34 EST 2006


On Tue, 2006-02-07 at 14:52 -0500, Chris Shoemaker wrote:
> Author: chris
> Date: 2006-02-07 14:52:29 -0500 (Tue, 07 Feb 2006)
> New Revision: 13140
> Trac: http://svn.gnucash.org/trac/changeset/13140
> 
> Modified:
>    gnucash/trunk/src/bin/gnucash-bin.c
> Log:
>    Recompute argc after argv may have changed.

g_option_context already updates argc. Any reason you didn't just pass a
pointer to argc into gnucash_command_line instead of recomputing the
value a second time?

David
 



More information about the gnucash-devel mailing list