From d243e53f54e861c90ce7135f3d1a8d68d6202555 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Sat, 27 Apr 2013 20:14:43 +0200 Subject: [PATCH] Another assertion that got transformed in 1b1f8dd2 --- src/mathed/MathData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- 2.39.5