Author: rfm
Date: Mon Feb 23 15:57:10 2015
New Revision: 38361
URL: http://svn.gna.org/viewcvs/gnustep?rev=38361&view=rev
Log:
fix typo
Modified:
libs/ec/trunk/EcAlerter.m
Modified: libs/ec/trunk/EcAlerter.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/EcAlerter.m?rev=38361&r1=38360&r2=38361&view=diff
==============================================================================
--- libs/ec/trunk/EcAlerter.m (original)
+++ libs/ec/trunk/EcAlerter.m Mon Feb 23 15:57:10 2015
@@ -235,10 +235,12 @@
{
NSUserDefaults *d;
NSDictionary *c;
+ BOOL ok;
d = [EcProc cmdDefaults];
c = [d dictionaryForKey: @"Alerter"];
- return [self configureWithDefaults: c];
+ ok = [self configureWithDefaults: c];
+ return ok;
}
- (BOOL) configureWithDefaults: (NSDictionary*)c
@@ -475,7 +477,7 @@
NSLog(@"ActiveTimes='%@' with missing HH:MM", obj);
return NO;
}
- if (1 != c) m = 0;
+ if (1 == c) m = 0;
if (h < 0 || h > 23)
{
NSLog(@"ActiveTimes='%@' with hour out of range", obj);
@@ -494,7 +496,7 @@
NSLog(@"ActiveTimes='%@' with missing HH:MM", obj);
return NO;
}
- if (1 != c) m = 0;
+ if (1 == c) m = 0;
if (h < 0 || h > 24 || (24 == h && 0 != m))
{
NSLog(@"ActiveTimes='%@' with hour out of range", obj);
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs