On Wed, Oct 30, 2002 at 02:49:58AM +0000, John Levon wrote: > The value is not exactly brilliant but it's less 100 always with this > > OK ?
Can I get a witness ? john > Index: text.C > =================================================================== > RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text.C,v > retrieving revision 1.279 > diff -u -r1.279 text.C > --- text.C 24 Oct 2002 18:31:45 -0000 1.279 > +++ text.C 30 Oct 2002 02:48:20 -0000 > @@ -2392,7 +2409,8 @@ > if (the_locking_inset) { > WordLangTuple word = >the_locking_inset->selectNextWordToSpellcheck(bview, value); > if (!word.word().empty()) { > - value += float(cursor.y())/float(height); > + value += float(cursor.y()); > + value /= float(height); > return word; > } > // we have to go on checking so move cursor to the next char -- "When a man has nothing to say, the worst thing he can do is to say it memorably." - Calvin Trillin