aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPServerSupport.m2
-rw-r--r--Source/SPTableContent.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPServerSupport.m b/Source/SPServerSupport.m
index 937069f8..3d38ff79 100644
--- a/Source/SPServerSupport.m
+++ b/Source/SPServerSupport.m
@@ -82,7 +82,7 @@
*/
- (id)initWithMajorVersion:(NSInteger)majorVersion minor:(NSInteger)minorVersion release:(NSInteger)releaseVersion
{
- if ((self == [super init])) {
+ if ((self = [super init])) {
serverMajorVersion = majorVersion;
serverMinorVersion = minorVersion;
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index 68b3ae55..7cffef85 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -89,7 +89,7 @@
*/
- (id)init
{
- if ((self == [super init])) {
+ if ((self = [super init])) {
_mainNibLoaded = NO;
isWorking = NO;
pthread_mutex_init(&tableValuesLock, NULL);