summaryrefslogtreecommitdiffstats
path: root/gnulib-local/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-12-18 12:05:22 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:30 +0200
commitebe734c8380feb930a15fa7b98ae617f02dbf956 (patch)
tree3c585f506a7ea1cf4df4e36d0b7860f490591e5a /gnulib-local/lib
parent0f4d3829ec05caac67dd884041b8e80dce424dfb (diff)
downloadexternal_gettext-ebe734c8380feb930a15fa7b98ae617f02dbf956.zip
external_gettext-ebe734c8380feb930a15fa7b98ae617f02dbf956.tar.gz
external_gettext-ebe734c8380feb930a15fa7b98ae617f02dbf956.tar.bz2
Fix tgetstr argument.
Diffstat (limited to 'gnulib-local/lib')
-rw-r--r--gnulib-local/lib/term-ostream.oo.c2
1 files changed, 1 insertions, 1 deletions
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));