[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Fwd: [Gnash] new help
From: |
strk |
Subject: |
Re: [Gnash-dev] Fwd: [Gnash] new help |
Date: |
Wed, 11 Oct 2006 23:28:57 +0200 |
mmm. after counting them, we need 16 (see the final terminating 0)
--strk;
On Wed, Oct 11, 2006 at 11:27:05PM +0200, strk wrote:
> Oh, then it's been the -r3 addition that broke it, now I get it.
> I'd set it to 15 and split '-r' and '3' into two different elements.
>
> --strk;
>
> On Wed, Oct 11, 2006 at 06:49:23PM +0100, Martin Guy wrote:
> > >> > - plugin.cpp line 685
> > 15 is correct if you count them, or rather 13+(pageurl?2:0) to be
> > pernickety.
> >
> > BTW I would have thought that
> > argv[argc++] = "-r 3";
> > should be
> > argv[argc++] = "-r3";
> > or
> > argv[argc++] = "-r";
> > argv[argc++] = "3";
> > If it works, then I guess where it's parsed in gnash.cpp,
> > case 'r':
> > {
> > long int render_arg = strtol(optarg, NULL, 0);
> > strtol lets you get away with it, but I wouldn't want to count on the
> > being portable.
> >
> > >The final assertion is there to catch coding errors.
> > And just as well!
>
> --strk;