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.571 by sf-exg, Thu Jun 30 11:33:42 2016 UTC vs.
Revision 1.572 by sf-exg, Thu Jun 30 12:50:36 2016 UTC

3401 } 3401 }
3402 3402
3403 if (rgb24_color[index] == color) 3403 if (rgb24_color[index] == color)
3404 return index + minTermCOLOR24; 3404 return index + minTermCOLOR24;
3405 3405
3406 // like (rgb24_seqno[idx] > rgb24_seqno[index])
3407 // but also handles wrap around values good enough
3406 if (IN_RANGE_INC (rgb24_seqno[idx], rgb24_seqno[index], 0x7fff)) 3408 if ((uint16_t) (rgb24_seqno[idx] - rgb24_seqno[index]) < 0x7fff)
3407 idx = index; 3409 idx = index;
3408 } 3410 }
3409 } 3411 }
3410 } 3412 }
3411 3413

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines