> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> tmpcur invalidated by gotoNextInset?
Yes, when getoNextInset fails, it means that tmpcur is empty. Thefore
there is no tmpcur.inset() to test against. I am not sure ho I managed
to miss that. The second part of the fix is to av
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| The following patch repairs gotoInset so that it does not crash when
| the document is empty.
>
| OK?
sure.
| if (!gotoNextInset(tmpcur, codes, contents)) {
| - if (tmpcur != doc_iterator_begin(tmpcur.inset())) {
h| +