summaryrefslogtreecommitdiff
path: root/contrib/less/optfunc.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-05-09 01:35:27 +0000
committerXin LI <delphij@FreeBSD.org>2009-05-09 01:35:27 +0000
commit7374caaaed222af059fc66cb7fade7074ab391f4 (patch)
tree5e0628caeff31611fab89dbdf72053148a59a873 /contrib/less/optfunc.c
parent8ef3f835d2fd822eb6ad6226420ad5c2fb7e5687 (diff)
parente1193b7bca0eca8d5c2740fdfa576746303bb993 (diff)
downloadsrc-test2-7374caaaed222af059fc66cb7fade7074ab391f4.tar.gz
src-test2-7374caaaed222af059fc66cb7fade7074ab391f4.zip
Notes
Diffstat (limited to 'contrib/less/optfunc.c')
-rw-r--r--contrib/less/optfunc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/less/optfunc.c b/contrib/less/optfunc.c
index f296b79368ab..ced83ef9d6e9 100644
--- a/contrib/less/optfunc.c
+++ b/contrib/less/optfunc.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2007 Mark Nudelman
+ * Copyright (C) 1984-2008 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.
@@ -442,7 +442,7 @@ opt__V(type, s)
any_display = 1;
putstr("less ");
putstr(version);
- putstr("\nCopyright (C) 1984-2007 Mark Nudelman\n\n");
+ putstr("\nCopyright (C) 1984-2008 Mark Nudelman\n\n");
putstr("less comes with NO WARRANTY, to the extent permitted by law.\n");
putstr("For information about the terms of redistribution,\n");
putstr("see the file named README in the less distribution.\n");
@@ -472,14 +472,14 @@ colordesc(s, fg_color, bg_color)
return;
}
if (*s != '.')
- bg = 0;
+ bg = nm_bg_color;
else
{
s++;
bg = getnum(&s, "D", &err);
if (err)
{
- error("Missing fg color in -D", NULL_PARG);
+ error("Missing bg color in -D", NULL_PARG);
return;
}
}