summaryrefslogtreecommitdiffstats
path: root/gnulib-local
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib-local')
-rw-r--r--gnulib-local/ChangeLog5
-rw-r--r--gnulib-local/lib/term-ostream.oo.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog
index 7456380..0228f8a 100644
--- a/gnulib-local/ChangeLog
+++ b/gnulib-local/ChangeLog
@@ -1,5 +1,10 @@
2006-12-16 Bruno Haible <bruno@clisp.org>
+ * lib/term-ostream.oo.c (term_ostream_create): Fix tgetstr argument
+ for stream->no_color_video.
+
+2006-12-16 Bruno Haible <bruno@clisp.org>
+
* lib/term-ostream.oo.c (term_ostream_create): Don't ignore tgetent's
return value.
diff --git a/gnulib-local/lib/term-ostream.oo.c b/gnulib-local/lib/term-ostream.oo.c
index ed524db..855d184 100644
--- a/gnulib-local/lib/term-ostream.oo.c
+++ b/gnulib-local/lib/term-ostream.oo.c
@@ -1716,7 +1716,7 @@ term_ostream_create (int fd, const char *filename)
/* Retrieve particular values depending on the terminal type. */
stream->max_colors = tgetnum ("Co");
- stream->no_color_video = tgetnum ("nc");
+ stream->no_color_video = tgetnum ("NC");
stream->set_a_foreground = xstrdup0 (tgetstr ("AF", TEBP));
stream->set_foreground = xstrdup0 (tgetstr ("Sf", TEBP));
stream->set_a_background = xstrdup0 (tgetstr ("AB", TEBP));