--- rxvt-unicode/src/rxvtperl.xs 2006/12/07 03:50:36 1.107 +++ rxvt-unicode/src/rxvtperl.xs 2006/12/10 15:14:05 1.108 @@ -943,7 +943,7 @@ int GET_CUSTOM (int rend) CODE: - RETVAL = (rend && RS_customMask) >> RS_customShift; + RETVAL = (rend & RS_customMask) >> RS_customShift; OUTPUT: RETVAL