From: root Date: Mon, 26 Nov 2007 12:17:48 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=a533742b787c9997009a699625a066b5a0e62eb9;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/optinc.h b/src/optinc.h index e4e7858f..56c86a6d 100644 --- a/src/optinc.h +++ b/src/optinc.h @@ -1,6 +1,5 @@ // all resource indices, used by rxvtlib.h and rxvtperl.xs - def(console, 0) def(loginShell, 1) def(iconic, 2) def(visualBell, 3) @@ -57,4 +56,5 @@ #else nodef(iso14755_52) #endif + def(console, 33) diff --git a/src/rxvt.h b/src/rxvt.h index fdc05dda..616e5eaa 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -1273,7 +1273,8 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen { bool option (uint8_t opt) const NOTHROW { - if (!opt) return 0; + if (!opt) + return 0; --opt; return options[opt >> 3] & (1 << (opt & 7));