summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--src/vte.c2
-rw-r--r--vte.spec7
3 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a64846a..09069180 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,5 @@
+2002-05-14 nalin
+ * src/vte.c: Don't try to draw nul characters, most fonts can't.
2002-05-13 nalin
* src/debug.c: Add "ALL" as a debug flag, aliased to everything.
* src/pty.c: Print debug info after redirecting stdio.
diff --git a/src/vte.c b/src/vte.c
index 33925fa1..b4d0c3f5 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -7921,7 +7921,7 @@ vte_terminal_draw_char(VteTerminal *terminal,
}
/* If there's no data, bug out here. */
- if (cell == NULL) {
+ if ((cell == NULL) || (cell->c == 0)) {
#ifdef VTE_DEBUG
if (vte_debug_on(VTE_DEBUG_UPDATES)) {
fprintf(stderr, " skipping.\n");
diff --git a/vte.spec b/vte.spec
index 0f17cfc8..22ee4287 100644
--- a/vte.spec
+++ b/vte.spec
@@ -1,5 +1,5 @@
Name: vte
-Version: 0.3.13
+Version: 0.3.14
Release: 1
Summary: An experimental terminal emulator.
License: LGPL
@@ -53,7 +53,10 @@ make install DESTDIR=$RPM_BUILD_ROOT
%{_libdir}/pkgconfig/*
%changelog
-* Fri May 13 2002 Nalin Dahyabhai <nalin@redhat.com> 0.3.13-1
+* Tue May 14 2002 Nalin Dahyabhai <nalin@redhat.com> 0.3.14-1
+- don't draw nul chars
+
+* Mon May 13 2002 Nalin Dahyabhai <nalin@redhat.com> 0.3.13-1
- fix insert mode, implement visual bells
* Thu May 9 2002 Nalin Dahyabhai <nalin@redhat.com> 0.3.12-1