[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 97966c5154: ; * src/xterm.c (x_alloc_nearest_color_1): Remove ext
From: |
Po Lu |
Subject: |
master 97966c5154: ; * src/xterm.c (x_alloc_nearest_color_1): Remove extraneous code. |
Date: |
Fri, 4 Feb 2022 02:40:23 -0500 (EST) |
branch: master
commit 97966c5154bb842a3e5d04a003feadf7d761259b
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
; * src/xterm.c (x_alloc_nearest_color_1): Remove extraneous code.
---
src/xterm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/xterm.c b/src/xterm.c
index 874baa20f8..deaa5b5961 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -3096,7 +3096,6 @@ x_alloc_nearest_color_1 (Display *dpy, Colormap cmap,
XColor *color)
cells = x_color_cells (dpy, &no_cells);
- XQueryColors (dpy, cmap, cells, no_cells);
nearest = 0;
/* I'm assuming CSE so I'm not going to condense this. */
nearest_delta = ((((color->red >> 8) - (cells[0].red >> 8))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 97966c5154: ; * src/xterm.c (x_alloc_nearest_color_1): Remove extraneous code.,
Po Lu <=