-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 3149ada93566269781290299e275a4f3a8beb4eb:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 3149ada93566269781290299e275a4f3a8beb4eb
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Thu Jun 30 14:07:43 2016 +0000

    *** empty log message ***

diff --git a/src/command.C b/src/command.C

index dca5e51e52766bd5baf0ae4306cd172b2f85677a..

index ..70ff277c9d5173178728e14738eaaf08bafb2c6a 100644

--- a/src/command.C
+++ b/src/command.C
@@ -3384,20 +3384,20 @@ rxvt_term::map_rgb24_color (unsigned int r, unsigned int g, unsigned int b)

   for (int n = 0; n < ecb_array_length (dxyz); ++n)
     {
-      int i = idx_r + dxyz[n][0];
-      int j = idx_r + dxyz[n][1];
-      int k = idx_r + dxyz[n][2];
+      int r = idx_r + dxyz[n][0];
+      int g = idx_r + dxyz[n][1];
+      int b = idx_r + dxyz[n][2];

-      if (!IN_RANGE_EXC (i, 0, Red_levels))
+      if (!IN_RANGE_EXC (r, 0, Red_levels))
         continue;

-      if (!IN_RANGE_EXC (j, 0, Green_levels))
+      if (!IN_RANGE_EXC (g, 0, Green_levels))
         continue;

-      if (!IN_RANGE_EXC (k, 0, Blue_levels))
+      if (!IN_RANGE_EXC (b, 0, Blue_levels))
         continue;

-      unsigned int index = colorcube_index (i, j, k);
+      unsigned int index = colorcube_index (r, g, b);

       // minor issue: could update index 0 few more times
       if ((rgb24_seqno[index] | rgb24_color[index]) == 0)

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 11:37:46 2024