From: Jean-Marc Lasgouttes Date: Sat, 27 Apr 2013 18:14:43 +0000 (+0200) Subject: Another assertion that got transformed in 1b1f8dd2 X-Git-Tag: 2.1.0beta1~337 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d243e53f54e861c90ce7135f3d1a8d68d6202555;p=lyx.git Another assertion that got transformed in 1b1f8dd2 --- diff --git a/src/mathed/MathData.cpp b/src/mathed/MathData.cpp index 4967118e81..2ad3309af0 100644 --- a/src/mathed/MathData.cpp +++ b/src/mathed/MathData.cpp @@ -74,7 +74,7 @@ void MathData::insert(size_type pos, MathAtom const & t) void MathData::insert(size_type pos, MathData const & ar) { - LBUFERR(pos < size(), _("Invalid MathData.")); + LBUFERR(pos <= size(), _("Invalid MathData.")); base_type::insert(begin() + pos, ar.begin(), ar.end()); }