forked from enlightenment/edi
Fix a memory corruption issue on some systems
This commit is contained in:
parent
cb79a06615
commit
75bcfe3d80
|
@ -39,7 +39,7 @@ static void _elm_code_widget_fill_line_token(Evas_Textgrid_Cell *cells, int coun
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
|
|
||||||
for (x = start; x <= end && x <= count; x++)
|
for (x = start; x <= end && x < count; x++)
|
||||||
{
|
{
|
||||||
cells[x].fg = type;
|
cells[x].fg = type;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue