mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-14 12:25:11 +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)
|
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());
|
base_type::insert(begin() + pos, ar.begin(), ar.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user