Commit c08fe19b authored by pwrd's avatar pwrd

Merge branch 'master'

parents 0612f683 97d4618a
......@@ -2760,7 +2760,7 @@ void EvList::fill_alarm_tables()
idx = 0;
for (i = 0; i < object_cnt; i++) {
if (idx > int(sizeof(at.ActiveArray) / sizeof(at.ActiveArray[0])))
if (idx >= int(sizeof(at.ActiveArray) / sizeof(at.ActiveArray[0])))
break;
brow_GetUserData(object_list[i], (void**)&item);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment