Skip to content
Snippets Groups Projects
Commit 0cbfcccc authored by lxcode's avatar lxcode
Browse files

Tiny typo fix

parent eb0af195
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1457,19 +1457,19 @@ typedef struct iTermTextColorContext {
atPoint:(NSPoint)origin
positions:(CGFloat *)stringPositions
backgroundColor:(NSColor *)backgroundColor {
NSGraphicsContext *graphicsContet = [NSGraphicsContext currentContext];
NSGraphicsContext *graphicsContext = [NSGraphicsContext currentContext];
[self drawTextOnlyAttributedStringWithoutUnderline:attributedString
atPoint:origin
positions:stringPositions
backgroundColor:backgroundColor
graphicsContext:graphicsContet
graphicsContext:graphicsContext
smear:NO];
 
__block CGContextRef maskGraphicsContext = nil;
__block CGImageRef alphaMask = nil;
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
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