Commit 45ce2c7e authored by claes's avatar claes

Strange EventPrio wasn't handled

parent 497120bd
/*
* Proview $Id: xtt_evlist.cpp,v 1.17 2007-10-24 14:00:59 claes Exp $
* Proview $Id: xtt_evlist.cpp,v 1.18 2007-10-24 15:11:30 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -1299,20 +1299,21 @@ void ItemAlarm::update_text()
break;
case evlist_eEventType_Block:
case evlist_eEventType_Alarm:
switch ( eventprio)
{
case mh_eEventPrio_A:
strcpy( type_str, "A");
break;
case mh_eEventPrio_B:
strcpy( type_str, "B");
break;
case mh_eEventPrio_C:
strcpy( type_str, "C");
break;
case mh_eEventPrio_D:
strcpy( type_str, "D");
break;
switch ( eventprio) {
case mh_eEventPrio_A:
strcpy( type_str, "A");
break;
case mh_eEventPrio_B:
strcpy( type_str, "B");
break;
case mh_eEventPrio_C:
strcpy( type_str, "C");
break;
case mh_eEventPrio_D:
strcpy( type_str, "D");
break;
default:
strcpy( type_str, "Unkw");
}
brow_SetAnnotation( node, 0, type_str, strlen(type_str));
break;
......
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