]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix tgetstr argument.
authorBruno Haible <bruno@clisp.org>
Mon, 18 Dec 2006 12:05:22 +0000 (12:05 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:30 +0000 (12:14 +0200)
gnulib-local/ChangeLog
gnulib-local/lib/term-ostream.oo.c

index 7456380d2957f60c6e76cb773c9a3f12a27407ff..0228f8ab8204e060b634d69d05393d27a7f9c035 100644 (file)
@@ -1,3 +1,8 @@
+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
index ed524db6221b864d9c70a570dea31c4cdb4ffda6..855d18433be6f7559fbfea726677d4021548aad3 100644 (file)
@@ -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));