Commit 97d4618a authored by Claes Sjofors's avatar Claes Sjofors

Xtt alarmtable full bugfix

parent 72aa5ddc
...@@ -2760,7 +2760,7 @@ void EvList::fill_alarm_tables() ...@@ -2760,7 +2760,7 @@ void EvList::fill_alarm_tables()
idx = 0; idx = 0;
for (i = 0; i < object_cnt; i++) { 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; break;
brow_GetUserData(object_list[i], (void**)&item); 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