--- rxvt-unicode/src/rxvtperl.xs 2006/12/14 17:40:03 1.112 +++ rxvt-unicode/src/rxvtperl.xs 2007/05/01 21:10:04 1.113 @@ -1476,17 +1476,14 @@ rxvt_term::x_resource (const char *name) bool -rxvt_term::option (U32 optval, int set = -1) +rxvt_term::option (U8 optval, int set = -1) CODE: { - RETVAL = THIS->options & optval; + RETVAL = THIS->option (optval); if (set >= 0) { - if (set) - THIS->options |= optval; - else - THIS->options &= ~optval; + THIS->set_option (optval, set); if (THIS->check_ev.is_active ()) // avoid doing this before START switch (optval)