]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView2.C
next step...
[lyx.git] / src / BufferView2.C
index 6226a7edafdb902e692d37b9fdb6b09d4ecc372c..58f73496e092c7abc742961b9d09661b8e36977b 100644 (file)
@@ -79,7 +79,7 @@ bool BufferView::insertLyXFile(string const & filen)
                return false;
        }
        
-       char const c = ifs.peek();
+       int const c = ifs.peek();
        
        LyXLex lex(0, 0);
        lex.setStream(ifs);
@@ -339,7 +339,7 @@ string const BufferView::nextWord(float & value)
                return string();
        }
 
-       return text->selectNextWord(this, value);
+       return text->selectNextWordToSpellcheck(this, value);
 }