Skip to content
Snippets Groups Projects
Unverified Commit 061432b9 authored by George Nachman's avatar George Nachman Committed by GitHub
Browse files

Merge pull request #342 from lxcode/typo

Tiny typo fix
parents 78a9f0dc 0cbfcccc
No related branches found
No related tags found
No related merge requests found
Loading
@@ -1457,19 +1457,19 @@ typedef struct iTermTextColorContext {
Loading
@@ -1457,19 +1457,19 @@ typedef struct iTermTextColorContext {
atPoint:(NSPoint)origin atPoint:(NSPoint)origin
positions:(CGFloat *)stringPositions positions:(CGFloat *)stringPositions
backgroundColor:(NSColor *)backgroundColor { backgroundColor:(NSColor *)backgroundColor {
NSGraphicsContext *graphicsContet = [NSGraphicsContext currentContext]; NSGraphicsContext *graphicsContext = [NSGraphicsContext currentContext];
[self drawTextOnlyAttributedStringWithoutUnderline:attributedString [self drawTextOnlyAttributedStringWithoutUnderline:attributedString
atPoint:origin atPoint:origin
positions:stringPositions positions:stringPositions
backgroundColor:backgroundColor backgroundColor:backgroundColor
graphicsContext:graphicsContet graphicsContext:graphicsContext
smear:NO]; smear:NO];
   
__block CGContextRef maskGraphicsContext = nil; __block CGContextRef maskGraphicsContext = nil;
__block CGImageRef alphaMask = nil; __block CGImageRef alphaMask = nil;
NSDictionary *maskingAttributes = @{ (NSString *)kCTForegroundColorAttributeName: (id)[[NSColor colorWithSRGBRed:0 green:0 blue:0 alpha:1] CGColor] }; NSDictionary *maskingAttributes = @{ (NSString *)kCTForegroundColorAttributeName: (id)[[NSColor colorWithSRGBRed:0 green:0 blue:0 alpha:1] CGColor] };
CGContextRef cgContext = (CGContextRef) [graphicsContet graphicsPort]; CGContextRef cgContext = (CGContextRef) [graphicsContext graphicsPort];
   
[attributedString enumerateAttribute:NSUnderlineStyleAttributeName [attributedString enumerateAttribute:NSUnderlineStyleAttributeName
inRange:NSMakeRange(0, attributedString.length) inRange:NSMakeRange(0, attributedString.length)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment