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

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.255 by root, Sun Nov 21 23:00:48 2021 UTC vs.
Revision 1.256 by sf-exg, Wed Nov 24 18:17:20 2021 UTC

1145int 1145int
1146SET_CUSTOM (int rend, int new_value) 1146SET_CUSTOM (int rend, int new_value)
1147 CODE: 1147 CODE:
1148{ 1148{
1149 if (!IN_RANGE_EXC (new_value, 0, RS_customCount)) 1149 if (!IN_RANGE_EXC (new_value, 0, RS_customCount))
1150 croak ("custom value out of range, must be 0..%d", RS_customCount - 1); 1150 croak ("custom value out of range, must be 0..%lu", RS_customCount - 1);
1151 1151
1152 RETVAL = (rend & ~RS_customMask) 1152 RETVAL = (rend & ~RS_customMask)
1153 | ((new_value << RS_customShift) & RS_customMask); 1153 | ((new_value << RS_customShift) & RS_customMask);
1154} 1154}
1155 OUTPUT: 1155 OUTPUT:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines