44 lines
1.2 KiB
Diff
44 lines
1.2 KiB
Diff
|
From da6020f5f607e6d555717db91da5939bd0c58252 Mon Sep 17 00:00:00 2001
|
||
|
From: Marc Lehmann <schmorp@schmorp.de>
|
||
|
Date: Thu, 30 Jun 2016 16:56:41 +0000
|
||
|
Subject: [PATCH 05/11] *** empty log message ***
|
||
|
|
||
|
---
|
||
|
src/command.C | 10 ++++------
|
||
|
1 file changed, 4 insertions(+), 6 deletions(-)
|
||
|
|
||
|
diff --git a/src/command.C b/src/command.C
|
||
|
index 70ff277c..c5febcd3 100644
|
||
|
--- a/src/command.C
|
||
|
+++ b/src/command.C
|
||
|
@@ -3374,12 +3374,12 @@ rxvt_term::map_rgb24_color (unsigned int r, unsigned int g, unsigned int b)
|
||
|
/* to replace the current color, if they not used recently */
|
||
|
static const signed char dxyz[][3] = {
|
||
|
0, 0, 0,
|
||
|
- 0, 0, -1,
|
||
|
0, 0, +1,
|
||
|
- 0, -1, 0,
|
||
|
+ 0, 0, -1,
|
||
|
0, +1, 0,
|
||
|
- -1, 0, 0,
|
||
|
+ 0, -1, 0,
|
||
|
+1, 0, 0,
|
||
|
+ -1, 0, 0,
|
||
|
};
|
||
|
|
||
|
for (int n = 0; n < ecb_array_length (dxyz); ++n)
|
||
|
@@ -3421,9 +3421,7 @@ update:
|
||
|
|
||
|
idx += minTermCOLOR24;
|
||
|
pix_colors_focused [idx].free (this);
|
||
|
- pix_colors_focused [idx].set (this, rgba (r * 0x0101,
|
||
|
- g * 0x0101,
|
||
|
- b * 0x0101));
|
||
|
+ pix_colors_focused [idx].set (this, rgba (r * 0x0101, g * 0x0101, b * 0x0101));
|
||
|
update_fade_color (idx, false);
|
||
|
|
||
|
return idx;
|
||
|
--
|
||
|
2.13.0
|
||
|
|