Fix a nil variable error that caused problems in Firefox 2.

This commit is contained in:
Ross Boucher committed 2010-03-30 10:52:48 -07:00
1 parent 99282026fa
commit 5c4d890100
1 file changed
+2 -2
+2 -2
View File
@@ -227,8 +227,8 @@ var SelectionColor = nil,
CGContextClosePath(context);
CGContextSetShadowWithColor(context, CGSizeMake(0.0, 1.0), 1.1, _shadowColor);
CGContextSetFillColor(context, _color);
CGContextSetShadowWithColor(context, CGSizeMake(0.0, 1.0), 1.1, _shadowColor || [CPColor whiteColor]);
CGContextSetFillColor(context, _color || [CPColor blackColor]);
CGContextFillPath(context);
}