mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-21 02:41:11 +00:00
fix error in last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@38319 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ebd5737558
commit
60c2ff2d73
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
2015-01-30 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
2015-02-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* EcAlarmDestination.m: When coalescing alarms, do not coalesce a
|
||||
clear with anything other than an earlier clear for the same event.
|
||||
|
|
|
@ -84,7 +84,11 @@
|
|||
[_alarmQueue addObject: event];
|
||||
if (NSNotFound != index)
|
||||
{
|
||||
[_alarmQueue removeObjectAtIndex: index];
|
||||
event = [_alarmQueue objectAtIndex: index];
|
||||
if ([event perceivedSeverity] == EcAlarmSeverityCleared)
|
||||
{
|
||||
[_alarmQueue removeObjectAtIndex: index];
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue