summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-03-07 19:57:19 +0800
committerPo Lu <luangruo@yahoo.com>2022-03-07 19:57:19 +0800
commitc7d3ebc7fd82199bf3f943c362d835fa0f0a1be6 (patch)
treecb62bfb1ce07adbd2da2b60d555f6a8b7506fa35 /src/xterm.c
parent9e1186a73279f9e6416cc594171482be5a223820 (diff)
downloademacs-c7d3ebc7fd82199bf3f943c362d835fa0f0a1be6.tar.gz
; * src/xterm.c (x_alloc_nearest_color_1): Commit missing hunk (again).
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 76222d6256f..d3e3ed3a06b 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -3878,10 +3878,6 @@ x_alloc_nearest_color_1 (Display *dpy, Colormap cmap, XColor *color)
* ((color->blue >> 8) - (cells[x].blue >> 8))));
if (trial_delta < nearest_delta)
{
- temp.red = cells[x].red;
- temp.green = cells[x].green;
- temp.blue = cells[x].blue;
-
nearest = x;
nearest_delta = trial_delta;
}