remove double path init in drawCircleInRect:

This commit is contained in:
Ben Alpert
2008-12-05 22:50:49 -07:00
committed by Pieter de Bie
parent 40cceebc9b
commit 086a1c3a12
+1 -2
View File
@@ -65,8 +65,7 @@
NSRect oval = { columnOrigin.x - 5, columnOrigin.y + r.size.height * 0.5 - 5, 10, 10};
NSBezierPath * path = [NSBezierPath bezierPath];
path = [NSBezierPath bezierPathWithOvalInRect:oval];
NSBezierPath * path = [NSBezierPath bezierPathWithOvalInRect:oval];
[[NSColor blackColor] set];
[path fill];