diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2015-11-09 11:13:11 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2015-11-09 11:13:11 (GMT) |
commit | 990f2eaaea4b4d2e0beaf555a5cfb4b0ec055587 (patch) | |
tree | 02e4604075ab85c578ae42b1fa6c4180e6da6e03 /macosx | |
parent | 05e159aa1021c5606854a4b23ebb9ee06646f78d (diff) | |
parent | b8ce5c1ed3db9beb1c3a7b0bbad4ae6391309a98 (diff) | |
download | tk-990f2eaaea4b4d2e0beaf555a5cfb4b0ec055587.zip tk-990f2eaaea4b4d2e0beaf555a5cfb4b0ec055587.tar.gz tk-990f2eaaea4b4d2e0beaf555a5cfb4b0ec055587.tar.bz2 |
clean-up end-of-line spacing
FossilOrigin-Name: e3a7d4ea88ce74de3cdae3208edf3703a080c431
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXDraw.c | 7 | ||||
-rw-r--r-- | macosx/tkMacOSXMouseEvent.c | 2 |
2 files changed, 4 insertions, 5 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); diff --git a/macosx/tkMacOSXMouseEvent.c b/macosx/tkMacOSXMouseEvent.c index 4046359..1fdbc52 100644 --- a/macosx/tkMacOSXMouseEvent.c +++ b/macosx/tkMacOSXMouseEvent.c @@ -75,7 +75,7 @@ static unsigned int ButtonModifiers2State(UInt32 buttonState, enum { NSWindowWillMoveEventType = 20 }; -/* +/* * In OS X 10.6 an NSEvent of type NSMouseMoved would always have a non-Nil * window attribute when the mouse was inside a window. As of 10.8 this * behavior had changed. The new behavior was that if the mouse were ever |