summaryrefslogtreecommitdiff
path: root/tikzit/src/osx/NodeSelectionLayer.m
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/osx/NodeSelectionLayer.m')
-rw-r--r--tikzit/src/osx/NodeSelectionLayer.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/tikzit/src/osx/NodeSelectionLayer.m b/tikzit/src/osx/NodeSelectionLayer.m
index 5efcbf7..02b8ac2 100644
--- a/tikzit/src/osx/NodeSelectionLayer.m
+++ b/tikzit/src/osx/NodeSelectionLayer.m
@@ -30,7 +30,7 @@
@synthesize nodeLayer;
- (id)init {
- [super init];
+ if (!(self = [super init])) return nil;
selected = NO;
drawLock = [[NSLock alloc] init];
nodeLayer = nil;