The value is not exactly brilliant but it's less 100 always with this

OK ?

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
-- 
""All the people we like are We, and everyone else is They."
        - Kipling

Reply via email to