diff --git a/src/Statistics.cpp b/src/Statistics.cpp index a2e7023155..31e4105895 100644 --- a/src/Statistics.cpp +++ b/src/Statistics.cpp @@ -72,8 +72,8 @@ void Statistics::update(Text const & text) void Statistics::update(CursorSlice const & from, CursorSlice & to) { - LASSERT(from.text() == to.text(), return); if (from.idx() == to.idx()) { + LASSERT(from.text() == to.text(), return); if (from.pit() == to.pit()) { update(from.paragraph(), from.pos(), to.pos()); } else {