Created
December 6, 2008 06:01
-
-
Save sophiebits/32629 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From e6b562555196947752ccced8434d93523d4bebde Mon Sep 17 00:00:00 2001 | |
From: Ben Alpert <spicyjalapeno@gmail.com> | |
Date: Fri, 5 Dec 2008 22:50:49 -0700 | |
Subject: [PATCH] remove double path init in drawCircleInRect: | |
--- | |
PBGitRevisionCell.m | 3 +-- | |
1 files changed, 1 insertions(+), 2 deletions(-) | |
diff --git a/PBGitRevisionCell.m b/PBGitRevisionCell.m | |
index 0d3ce9c..83bf906 100644 | |
--- a/PBGitRevisionCell.m | |
+++ b/PBGitRevisionCell.m | |
@@ -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]; | |
-- | |
1.5.4.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment