]> git.lyx.org Git - features.git/blobdiff - src/Text.cpp
Small refactorings
[features.git] / src / Text.cpp
index 5d761ca134b6d25b23e35f8fbb18a65409db25d4..0bb66f6666e46ee6bf69fe89390cc9cb2df3ac15 100644 (file)
@@ -1127,7 +1127,7 @@ void Text::charInserted(Cursor & cur)
            && par.isWordSeparator(cur.pos() - 1)) {
                // get the word in front of cursor
                LBUFERR(this == cur.text());
-               cur.paragraph().updateWords();
+               par.updateWords();
        }
 }