# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1327944972 0 # Node ID 9eef6f82ee502e1234df283deafbf6e554777e9e # Parent 9a21fbd6ae504df513d248c472d3751c59f57245 Comment cleanup in the Mac source. diff -r 9a21fbd6ae50 -r 9eef6f82ee50 mac/dw.m --- a/mac/dw.m Mon Jan 30 08:15:16 2012 +0000 +++ b/mac/dw.m Mon Jan 30 17:36:12 2012 +0000 @@ -6909,16 +6909,16 @@ graphicsContextWithGraphicsPort:[[NSGraphicsContext graphicsContextWithBitmapImageRep:image] graphicsPort] flipped:YES]]; [[[NSDictionary alloc] initWithObjectsAndKeys:image, NSGraphicsContextDestinationAttributeName, nil] autorelease]; - // make a new transform: + /* Make a new transform */ NSAffineTransform *t = [NSAffineTransform transform]; - // by scaling Y negatively, we effectively flip the image: + /* By scaling Y negatively, we effectively flip the image */ [t scaleXBy:1.0 yBy:-1.0]; - // but we also have to translate it back by its height: + /* But we also have to translate it back by its height */ [t translateXBy:0.0 yBy:-size.height]; - // apply the transform: + /* Apply the transform */ [t concat]; [tmpimage drawAtPoint:NSMakePoint(0, 0) fromRect:NSMakeRect(0, 0, size.width, size.height) operation:NSCompositeSourceOver fraction:1.0];