ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.573 by root, Thu Jun 30 14:01:11 2016 UTC vs.
Revision 1.574 by root, Thu Jun 30 14:07:43 2016 UTC

3382 +1, 0, 0, 3382 +1, 0, 0,
3383 }; 3383 };
3384 3384
3385 for (int n = 0; n < ecb_array_length (dxyz); ++n) 3385 for (int n = 0; n < ecb_array_length (dxyz); ++n)
3386 { 3386 {
3387 int i = idx_r + dxyz[n][0]; 3387 int r = idx_r + dxyz[n][0];
3388 int j = idx_r + dxyz[n][1]; 3388 int g = idx_r + dxyz[n][1];
3389 int k = idx_r + dxyz[n][2]; 3389 int b = idx_r + dxyz[n][2];
3390 3390
3391 if (!IN_RANGE_EXC (i, 0, Red_levels)) 3391 if (!IN_RANGE_EXC (r, 0, Red_levels))
3392 continue; 3392 continue;
3393 3393
3394 if (!IN_RANGE_EXC (j, 0, Green_levels)) 3394 if (!IN_RANGE_EXC (g, 0, Green_levels))
3395 continue; 3395 continue;
3396 3396
3397 if (!IN_RANGE_EXC (k, 0, Blue_levels)) 3397 if (!IN_RANGE_EXC (b, 0, Blue_levels))
3398 continue; 3398 continue;
3399 3399
3400 unsigned int index = colorcube_index (i, j, k); 3400 unsigned int index = colorcube_index (r, g, b);
3401 3401
3402 // minor issue: could update index 0 few more times 3402 // minor issue: could update index 0 few more times
3403 if ((rgb24_seqno[index] | rgb24_color[index]) == 0) 3403 if ((rgb24_seqno[index] | rgb24_color[index]) == 0)
3404 { 3404 {
3405 idx = index; 3405 idx = index;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines