Re: [PATCH] bug 1891: note-next triggers assertion

2005-05-31 Thread Jean-Marc Lasgouttes
> "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

Re: [PATCH] bug 1891: note-next triggers assertion

2005-05-31 Thread Lars Gullik Bjønnes
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| +