]> git.eshelyaron.com Git - emacs.git/commit
Avoid color leaks while better ensuring a close color is found
authorPo Lu <luangruo@yahoo.com>
Tue, 8 Mar 2022 01:14:41 +0000 (09:14 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 8 Mar 2022 01:40:21 +0000 (09:40 +0800)
commitbacd7ae4b6dbe3b8c8d5bcf100f97b4e856aac39
treedcea68483ffb93677935647505d90394d898e626
parentb19db4861f552a2571a97dab590f6fdf59c5c81b
Avoid color leaks while better ensuring a close color is found

* src/xterm.c (x_alloc_nearest_color_1): Verify nearest can be
allocated, and use that color value.
src/xterm.c