Re: [BUG] HEAD cvs InsetNote() causes assert failure

2001-11-28 Thread Andre Poenitz
On Thu, Nov 29, 2001 at 04:15:29AM +1100, Ben Stanley wrote: > I propose a grep for lyx::pos_type and a double check... Guess what I did the last ten minutes... Andre' -- André Pönitz .. [EMAIL PROTECTED]

Re: [BUG] HEAD cvs InsetNote() causes assert failure

2001-11-28 Thread Ben Stanley
Andre Poenitz wrote: >On Thu, Nov 29, 2001 at 03:47:50AM +1100, Ben Stanley wrote: > >>This constructor passes an un-initialised pos to insertStringAsLines. I >>presume it should be initialised to 0? >> > >And now to the explanation: I saw the "useless" variable, removed it. Then >noticed that t

Re: [BUG] HEAD cvs InsetNote() causes assert failure

2001-11-28 Thread Andre Poenitz
On Thu, Nov 29, 2001 at 03:47:50AM +1100, Ben Stanley wrote: > This constructor passes an un-initialised pos to insertStringAsLines. I > presume it should be initialised to 0? And now to the explanation: I saw the "useless" variable, removed it. Then noticed that the parameter was passed by (non

Re: [BUG] HEAD cvs InsetNote() causes assert failure

2001-11-28 Thread Andre Poenitz
On Thu, Nov 29, 2001 at 03:47:50AM +1100, Ben Stanley wrote: > This constructor passes an un-initialised pos to insertStringAsLines. I > presume it should be initialised to 0? Gasp! Yes. Certainly. And it used to be. My fault. I can even explain how this evolved... but I'll try to fix it first.

[BUG] HEAD cvs InsetNote() causes assert failure

2001-11-28 Thread Ben Stanley
This constructor passes an un-initialised pos to insertStringAsLines. I presume it should be initialised to 0? This causes an assert failure down in Pragraph::pimpl::insertChar(). // This constructor is used for reading old InsetInfo InsetNote::InsetNote(Buffer const * buf, string const & conte