mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Another assertion that got transformed in 1b1f8dd2
This commit is contained in:
parent
f5ad0c128a
commit
d243e53f54
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user