X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=rote.h;h=a4f6b3ebf2a771ec8fe6c75c9f21ee74e75821c7;hb=7ea77f37c3d2ad6f176182e2b1441dd33e39af8c;hp=8972a61f0dfc5f68993ba3beb537bdec71530e84;hpb=93c516d8991c4b6935fc03a24317ea0785e78a93;p=apps%2Fmadtty.git diff --git a/rote.h b/rote.h index 8972a61..a4f6b3e 100644 --- a/rote.h +++ b/rote.h @@ -5,6 +5,27 @@ * 2004-08-25 */ +/* +LICENSE INFORMATION: +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License (LGPL) as published by the Free Software Foundation. + +Please refer to the COPYING file for more information. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +Copyright (c) 2004 Bruno T. C. de Oliveira +*/ + + #ifndef btco_ROTE_rote_h #define btco_ROTE_rote_h @@ -58,7 +79,7 @@ #define ROTE_ATTR_MOD_BOLD(attr, boldbit) \ attr &= 0x7F, attr |= (boldbit)?0x80:0x00 #define ROTE_ATTR_MOD_BLINK(attr, blinkbit) \ - attr &= 0xF7, attr |= (boldbit)?0x08:0x00 + attr &= 0xF7, attr |= (blinkbit)?0x08:0x00 /* these return non-zero for 'yes', zero for 'no'. Don't rely on them being * any more specific than that (e.g. being exactly 1 for 'yes' or whatever). */