emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c7d3ebc7fd: ; * src/xterm.c (x_alloc_nearest_color_1): Commit mis


From: Po Lu
Subject: master c7d3ebc7fd: ; * src/xterm.c (x_alloc_nearest_color_1): Commit missing hunk (again).
Date: Mon, 7 Mar 2022 06:58:08 -0500 (EST)

branch: master
commit c7d3ebc7fd82199bf3f943c362d835fa0f0a1be6
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    ; * src/xterm.c (x_alloc_nearest_color_1): Commit missing hunk (again).
---
 src/xterm.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/xterm.c b/src/xterm.c
index 76222d6256..d3e3ed3a06 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;
            }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]