Merge pull request #836 from lunkhound/fix
Fix out-of-bounds array access (was asserting in example-10-font)
This commit is contained in:
commit
8ff7e7bda3
@ -149,6 +149,7 @@ bool RectanglePacker::addRectangle(uint16_t _width, uint16_t _height, uint16_t&
|
||||
{
|
||||
m_skyline.erase(m_skyline.begin() + ii);
|
||||
--ii;
|
||||
--num;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user