summaryrefslogtreecommitdiff
path: root/tikzit/src/common/Shape.m
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/common/Shape.m')
-rw-r--r--tikzit/src/common/Shape.m6
1 files changed, 4 insertions, 2 deletions
diff --git a/tikzit/src/common/Shape.m b/tikzit/src/common/Shape.m
index 0f1b35b..e86b122 100644
--- a/tikzit/src/common/Shape.m
+++ b/tikzit/src/common/Shape.m
@@ -51,8 +51,10 @@
}
- (id)init {
- [super init];
- paths = nil;
+ self = [super init];
+ if (self) {
+ paths = nil;
+ }
return self;
}