Author: rfm
Date: Mon Feb 2 10:24:54 2015
New Revision: 38319
URL: http://svn.gna.org/viewcvs/gnustep?rev=38319&view=rev
Log:
fix error in last change
Modified:
libs/ec/trunk/ChangeLog
libs/ec/trunk/EcAlarmDestination.m
Modified: libs/ec/trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/ChangeLog?rev=38319&r1=38318&r2=38319&view=diff
==============================================================================
--- libs/ec/trunk/ChangeLog (original)
+++ libs/ec/trunk/ChangeLog Mon Feb 2 10:24:54 2015
@@ -1,4 +1,4 @@
-2015-01-30 Richard Frith-Macdonald <[email protected]>
+2015-02-02 Richard Frith-Macdonald <[email protected]>
* EcAlarmDestination.m: When coalescing alarms, do not coalesce a
clear with anything other than an earlier clear for the same event.
Modified: libs/ec/trunk/EcAlarmDestination.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/EcAlarmDestination.m?rev=38319&r1=38318&r2=38319&view=diff
==============================================================================
--- libs/ec/trunk/EcAlarmDestination.m (original)
+++ libs/ec/trunk/EcAlarmDestination.m Mon Feb 2 10:24:54 2015
@@ -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
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs