"Vincent van Ravesteijn - TNW" <v.f.vanraveste...@tudelft.nl> writes:
> If Inset::buffer_ is 0, then you'd expect an assert in Inset::buffer() 
>
> So, if we get an assert in Inset::dispatch, it comes from cur.buffer()
> ...

No the code is this:

void Inset::dispatch(Cursor & cur, FuncRequest & cmd)
{
        //LASSERT(cur.buffer() == &buffer(), return);
        cur.updateFlags(Update::Force | Update::FitCursor);
        cur.dispatched();
        doDispatch(cur, cmd);
}

The assertion was commented out and I thought "why not?". Now I know why
not :) But I still think it should be fixed.

JMarc

Reply via email to