On Tue, Sep 10, 2002 at 12:06:31PM +0200, Andre Poenitz wrote:
 
> On Mon, Sep 09, 2002 at 11:02:39AM +0300, Martin Vermeer wrote:
> >     * insetgraphics.C: disfuscated use of ']' in built output string.
> > [...]
> >     string const message = file_exists ?
> > -           string() : string("bb = 0 0 200 100, draft, type=eps]");
> > +           string() : string("bb = 0 0 200 100, draft, type=eps");
> 
>               string() : "bb = 0 0 200 100, draft, type=eps";
> 
> should do the trick as well...

Why wasn't that there in the first place :-)
 
> > [...]
> > -           before += ("[%\n" + opts + ']');
> > +           before += ("[%\n" + opts + ',' + message + ']');
> 
> Why not
> 
>    before += "[%\n" + opts + ',' + message + ']';

Yes, why not.
 
> Andre'

Seems to work.

Martin

Attachment: msg44492/pgp00000.pgp
Description: PGP signature

Reply via email to