summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDraw.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-11-09 11:13:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-11-09 11:13:11 (GMT)
commit7d5930a9d7546ee43e622dd476c4a167e5217ff6 (patch)
tree02e4604075ab85c578ae42b1fa6c4180e6da6e03 /macosx/tkMacOSXDraw.c
parentac270644876845f42927b5094c152ab782ee0bcc (diff)
parent9cbf3bd7e0b72c3e4a5501f3259900b189879371 (diff)
downloadtk-7d5930a9d7546ee43e622dd476c4a167e5217ff6.zip
tk-7d5930a9d7546ee43e622dd476c4a167e5217ff6.tar.gz
tk-7d5930a9d7546ee43e622dd476c4a167e5217ff6.tar.bz2
clean-up end-of-line spacing
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r--macosx/tkMacOSXDraw.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index 3e12b36..4728fea 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -446,7 +446,7 @@ CreateCGImageWithXImage(
* BW image
*/
- /* Reverses the sense of the bits */
+ /* Reverses the sense of the bits */
static const CGFloat decodeWB[2] = {1, 0};
decode = decodeWB;
@@ -474,7 +474,7 @@ CreateCGImageWithXImage(
/*
* Color image
*/
-
+
CGColorSpaceRef colorspace = CGColorSpaceCreateWithName(kCGColorSpaceSRGB);
bitsPerComponent = 8;
@@ -761,7 +761,7 @@ DrawCGImage(
TkMacOSXSetColorInContext(gc, imageForeground, context);
}
}
-
+
#ifdef TK_MAC_DEBUG_IMAGE_DRAWING
CGContextSaveGState(context);
CGContextSetLineWidth(context, 1.0);
@@ -780,7 +780,6 @@ DrawCGImage(
dstBounds.origin.x, dstBounds.origin.y,
dstBounds.size.width, dstBounds.size.height);
#else /* TK_MAC_DEBUG_IMAGE_DRAWING */
-
CGContextSaveGState(context);
CGContextTranslateCTM(context, 0, dstBounds.origin.y + CGRectGetMaxY(dstBounds));
CGContextScaleCTM(context, 1, -1);