On Tue, Dec 11, 2001 at 11:16:58AM +0100, Andre Poenitz wrote: Hmpf... of course I meant just the chunk in lyxfind.C:
Index: lyxfind.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfind.C,v retrieving revision 1.20 diff -u -p -r1.20 lyxfind.C --- lyxfind.C 2001/12/10 12:50:08 1.20 +++ lyxfind.C 2001/12/11 10:16:56 @@ -225,7 +225,7 @@ SearchResult SearchForward(BufferView * Paragraph * par = text->cursor.par(); pos_type pos = text->cursor.pos(); Paragraph * prev_par = par; - pos_type prev_pos; + pos_type prev_pos = 0; UpdatableInset * inset; while (par && !IsStringInText(par, pos, str, cs, mw)) { -- André Pönitz .............................................. [EMAIL PROTECTED]