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