diff options
author | delphij <delphij@FreeBSD.org> | 2006-08-20 15:49:51 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2006-08-20 15:49:51 +0000 |
commit | 5297f4bc59da861bbe3beb5ee12839fa05e79882 (patch) | |
tree | 66e8cb2705abe3d167ba3a94a60d37c894690ff2 /contrib/less/option.c | |
parent | 71cad8a96df623ac7d9129aa5e8c983df1030b0c (diff) | |
download | FreeBSD-src-5297f4bc59da861bbe3beb5ee12839fa05e79882.zip FreeBSD-src-5297f4bc59da861bbe3beb5ee12839fa05e79882.tar.gz |
Import less v394
Diffstat (limited to 'contrib/less/option.c')
-rw-r--r-- | contrib/less/option.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/less/option.c b/contrib/less/option.c index 8bb4504..744a9a1 100644 --- a/contrib/less/option.c +++ b/contrib/less/option.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1984-2002 Mark Nudelman + * Copyright (C) 1984-2004 Mark Nudelman * * You may distribute under the terms of either the GNU General Public * License or the Less License, as specified in the README file. @@ -142,12 +142,12 @@ scan_option(s) if (optname == NULL) { printopt = propt(optc); - lc = SIMPLE_IS_LOWER(optc); + lc = ASCII_IS_LOWER(optc); o = findopt(optc); } else { printopt = optname; - lc = SIMPLE_IS_LOWER(optname[0]); + lc = ASCII_IS_LOWER(optname[0]); o = findopt_name(&optname, NULL, &err); s = optname; optname = NULL; @@ -350,14 +350,14 @@ toggle_option(c, s, how_toggle) { case OPT_TOGGLE: *(o->ovar) = flip_triple(*(o->ovar), - islower(c)); + ASCII_IS_LOWER(c)); break; case OPT_UNSET: *(o->ovar) = o->odefault; break; case OPT_SET: *(o->ovar) = flip_triple(o->odefault, - islower(c)); + ASCII_IS_LOWER(c)); break; } break; |