summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@src.gnome.org>2002-05-14 14:38:35 +0000
committerNalin Dahyabhai <nalin@src.gnome.org>2002-05-14 14:38:35 +0000
commitb961d28996f665464d679c54373d1256169ac331 (patch)
tree4bcfaf86e313cc7824facc8d4482decc77db5c36
parenteb142a6689c140d8f598453bceae4f0ac390272a (diff)
Don't try to draw nul characters.vte_0_3_14
* src/vte.c: Don't try to draw nul characters.
-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 2a64846..0906918 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 33925fa..b4d0c3f 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 0f17cfc..22ee428 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