From: Po Lu Date: Mon, 7 Mar 2022 11:57:19 +0000 (+0800) Subject: ; * src/xterm.c (x_alloc_nearest_color_1): Commit missing hunk (again). X-Git-Tag: emacs-29.0.90~1973 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7d3ebc7fd82199bf3f943c362d835fa0f0a1be6;p=emacs.git ; * src/xterm.c (x_alloc_nearest_color_1): Commit missing hunk (again). --- 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; }