X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib.h;h=96f136013664fa4a8fa5fda5a62af8a713edebae;hb=f926d24934f003e299db986d6689106ec2dca7f0;hp=f5fb94e9820184ffb66a08b66bb733cb668c3c2c;hpb=f404a0ca916be07049af51a3022baaaaab94def6;p=apps%2Fmadmutt.git diff --git a/lib.h b/lib.h index f5fb94e..96f1360 100644 --- a/lib.h +++ b/lib.h @@ -1,24 +1,12 @@ /* + * Copyright notice from original mutt: * Copyright (C) 1996-2000 Michael R. Elkins * Copyright (C) 1999-2000 Thomas Roessler - * - * This program is free software; you can redistribute it - * and/or modify it under the terms of the GNU General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later - * version. - * - * 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 General Public - * License along with this program; if not, write to the Free - * Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111, USA. - */ + * + * This file is part of mutt-ng, see http://www.muttng.org/. + * It's licensed under the GNU General Public License, + * please see the file GPL in the top level source directory. + */ /* mutt functions which are generally useful. */ @@ -28,7 +16,7 @@ # include # include # ifdef HAVE_UNISTD_H -# include /* needed for SEEK_SET */ +# include /* needed for SEEK_SET */ # endif # include # include @@ -91,6 +79,7 @@ on some systems */ # define SKIPWS(c) while (*(c) && isspace ((unsigned char) *(c))) c++; +#define ISBLANK(c) (c == ' ' || c == '\t') /* * These functions aren't defined in lib.c, but * they are used there.