On Thu, Oct 02, 2003 at 09:50:34PM +0000, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > >> xforms/Dialogs.C is my code that happens to use a different string label > >> to ascertain which dialog to open. > > > > Yes, but where is it actually set? > > Remember this? > string InsetBoxMailer::name_ = "box"; > > > And (I believe unrelatedly) where does my above "box" go to? > > To the big heap in the sky where all unused strings go if they've > > been good? > > So you've been lucky. Good thing you didn't do anything nasty like assert > that the name passed to the InsetBoxParams constructor was recognized now > isn't it? Probably a case of two wrongs making a right... > > -- > Angus
OK, attached the patch that I intend to commit this evening if no grave objections are brought forward. It differs only cosmetically from the previous one (order of initializers in InsetBoxParams c'tor to get rid of warnings; use empty string instead of misleading "box" in two places) - Martin -- Martin Vermeer [EMAIL PROTECTED] Helsinki University of Technology Dept. of Surveying, Inst. of Geodesy P.O. Box 1200, FIN-02015 HUT, Finland :wq
qq.diff.gz
Description: application/gunzip
pgp00000.pgp
Description: PGP signature