Commit bd5dc475 authored by Claes Sjofors's avatar Claes Sjofors Committed by Claes Sjöfors

Xtt alarmtable full bugfix

parent f307a3b9
......@@ -2768,7 +2768,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