; * src/xterm.c (x_alloc_nearest_color_1): Add missing part of change.
This commit is contained in:
parent
f2b58db280
commit
9e1186a732
1 changed files with 1 additions and 1 deletions
|
@ -3878,10 +3878,10 @@ x_alloc_nearest_color_1 (Display *dpy, Colormap cmap, XColor *color)
|
|||
* ((color->blue >> 8) - (cells[x].blue >> 8))));
|
||||
if (trial_delta < nearest_delta)
|
||||
{
|
||||
XColor temp;
|
||||
temp.red = cells[x].red;
|
||||
temp.green = cells[x].green;
|
||||
temp.blue = cells[x].blue;
|
||||
|
||||
nearest = x;
|
||||
nearest_delta = trial_delta;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue