From abdc68f5acf3c36eb57b748543fcfdcce2009996 Mon Sep 17 00:00:00 2001 From: rfm Date: Wed, 8 Jun 2016 22:22:15 +0000 Subject: [PATCH] fix typos git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@39855 72102866-910b-0410-8b05-ffd578937521 --- EcAlerter.h | 4 ++-- EcControl.m | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/EcAlerter.h b/EcAlerter.h index 97a1f61..0a1e858 100644 --- a/EcAlerter.h +++ b/EcAlerter.h @@ -398,10 +398,10 @@ * the alarm argument must contain the original alarm details including * its perceived severity. However, the value returned by [EcAlarm-extra] * may be used to specify that an event is a clear (the end of the alarm), - * (the value of the field bust be 'Clear').
+ * (the value of the field must be 'Clear').
* The reminder field counts the number of copies of an alarm previously * sent to the alerting system, and should be set to -1 if the alert is - * not an alarm, reminder ofr an alarm, or clear of an alarm.
+ * not an alarm, reminder of an alarm, or clear of an alarm.
* The use of an empty string as an identifier is permitted for events which * should not be buffered, but which will never be matched by a clear. *

diff --git a/EcControl.m b/EcControl.m index d30c1b5..73b96a5 100644 --- a/EcControl.m +++ b/EcControl.m @@ -2572,11 +2572,12 @@ static NSString* cmdWord(NSArray* a, unsigned int pos) } -- (Class)_loadClassFromBundle: (NSString*)bundleName +- (Class) _loadClassFromBundle: (NSString*)bundleName { - NSString *path = nil; - Class c = Nil; - NSBundle *bundle = nil; + NSString *path = nil; + Class c = Nil; + NSBundle *bundle = nil; + path = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSLocalDomainMask, YES) lastObject]; path = [path stringByAppendingPathComponent: @"Bundles"];