summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnulib-local/ChangeLog4
-rw-r--r--gnulib-local/lib/term-ostream.oo.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog
index e8b21f7..8762b93 100644
--- a/gnulib-local/ChangeLog
+++ b/gnulib-local/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-01 Bruno Haible <bruno@clisp.org>
+
+ * lib/term-ostream.oo.c (out_attr_change): Fix typo.
+
2006-11-30 Bruno Haible <bruno@clisp.org>
Add special color support for xterm-16color, xterm-88color,
diff --git a/gnulib-local/lib/term-ostream.oo.c b/gnulib-local/lib/term-ostream.oo.c
index 0b8787a..1d66a09 100644
--- a/gnulib-local/lib/term-ostream.oo.c
+++ b/gnulib-local/lib/term-ostream.oo.c
@@ -1254,7 +1254,7 @@ out_attr_change (term_ostream_t stream,
bytes[0] = 0x1B; bytes[1] = '[';
if (new_attr.bgcolor < 8)
{
- bytes[2] = '3'; bytes[3] = '0' + new_attr.bgcolor;
+ bytes[2] = '4'; bytes[3] = '0' + new_attr.bgcolor;
bytes[4] = 'm';
if (full_write (out_fd, bytes, 5) < 5)
out_error ();