]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/xterm.c (x_alloc_nearest_color_1): Commit missing hunk (again).
authorPo Lu <luangruo@yahoo.com>
Mon, 7 Mar 2022 11:57:19 +0000 (19:57 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 7 Mar 2022 11:57:19 +0000 (19:57 +0800)
src/xterm.c

index 76222d6256f5f128fa05671ab6781b54d3e638ea..d3e3ed3a06b6c2b1dfbfee22d2ffd5bc16c04269 100644 (file)
@@ -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;
            }