aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPColorWellCell.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2011-03-07 20:12:52 +0000
committerstuconnolly <stuart02@gmail.com>2011-03-07 20:12:52 +0000
commit1e5288e9840e201a00bcb5ca3035d7aa807f1f8d (patch)
tree0c1a47953f57b71c41cc7a63e156629c6c9d645b /Source/SPColorWellCell.m
parent915a3831525bf3a9350648d82f86dd54ae366292 (diff)
downloadsequelpro-1e5288e9840e201a00bcb5ca3035d7aa807f1f8d.tar.gz
sequelpro-1e5288e9840e201a00bcb5ca3035d7aa807f1f8d.tar.bz2
sequelpro-1e5288e9840e201a00bcb5ca3035d7aa807f1f8d.zip
Bring outline view branch up to date with trunk (r3203:r3224).
Diffstat (limited to 'Source/SPColorWellCell.m')
-rw-r--r--Source/SPColorWellCell.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPColorWellCell.m b/Source/SPColorWellCell.m
index ce47ef83..ca466e98 100644
--- a/Source/SPColorWellCell.m
+++ b/Source/SPColorWellCell.m
@@ -29,7 +29,7 @@
- (void) drawWithFrame:(NSRect)cellFrame inView:(NSView*)controlView
{
// Set initial inset from cellFrame
- NSRect rect = NSInsetRect (cellFrame, 0.5, 0.5);
+ NSRect rect = NSInsetRect (cellFrame, 0.5f, 0.5f);
// General inset for colored rect shown inside rect
CGFloat insetFactor = 2.0f;
@@ -38,7 +38,7 @@
[[NSColor darkGrayColor] set];
[NSBezierPath strokeRect: rect];
[[NSColor grayColor] set];
- [NSBezierPath fillRect: NSInsetRect (rect, 1.0, 1.0)];
+ [NSBezierPath fillRect: NSInsetRect (rect, 1.0f, 1.0f)];
// The following rectangle and triangle are needed for displaying color with alpha values
// Draw black rectangle