summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-11-09 11:11:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-11-09 11:11:42 (GMT)
commit9cbf3bd7e0b72c3e4a5501f3259900b189879371 (patch)
treed831d38dd2af1d6188356cee7c579905d9b3e85c
parente7eebf080138f25abcec02424972faab9d2d8bd6 (diff)
downloadtk-9cbf3bd7e0b72c3e4a5501f3259900b189879371.zip
tk-9cbf3bd7e0b72c3e4a5501f3259900b189879371.tar.gz
tk-9cbf3bd7e0b72c3e4a5501f3259900b189879371.tar.bz2
clean-up end-of-line spacing
-rw-r--r--macosx/tkMacOSXDraw.c6
-rw-r--r--macosx/tkMacOSXMouseEvent.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index 33c2ef9..672e266 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);
diff --git a/macosx/tkMacOSXMouseEvent.c b/macosx/tkMacOSXMouseEvent.c
index 2b9d0bf..f4bfb44 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