Skip to content
Snippets Groups Projects
Commit 2a46ee47 authored by George Nachman's avatar George Nachman
Browse files

Adhoc build 1.0.0.20140703_163035

parent 12058da8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -6078,7 +6078,7 @@ static double EuclideanDistance(NSPoint p1, NSPoint p2) {
colorMode:theLine[i].foregroundColorMode
bold:theLine[i].bold
isBackground:NO];
DLog(@"case 5: color=%@", theColor);
DLog(@"case 5: result of lookup is color=%@", theColor);
CRunAttrsSetColor(&attrs,
storage,
theColor);
Loading
Loading
Loading
Loading
@@ -150,13 +150,15 @@ const int kColorMapAnsiBrightModifier = 8;
int blue = (n & 0xff);
int green = (n >> 8) & 0xff;
int red = (n >> 16) & 0xff;
return [NSColor colorWith8BitRed:red
NSColor *result = [NSColor colorWith8BitRed:red
green:green
blue:blue
muting:_mutingAmount
backgroundRed:_backgroundRed
backgroundGreen:_backgroundGreen
backgroundBlue:_backgroundBlue];
DLog(@"The muted version of 24-bit color [%d,%d,%d] is %@", red, green, blue, result);
return result;
} else {
NSColor *result = nil;
if (!result) {
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