[vte] Bug 601265 - gnome-terminal assert failure: table.c:723:_vte_table_match
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vte] Bug 601265 - gnome-terminal assert failure: table.c:723:_vte_table_match
- Date: Tue, 10 Nov 2009 01:03:24 +0000 (UTC)
commit 91448540f68235c7e1975fa604842b7872bc0f7a
Author: Behdad Esfahbod <behdad behdad org>
Date: Mon Nov 9 19:53:08 2009 -0500
Bug 601265 - gnome-terminal assert failure: table.c:723:_vte_table_match
Fix handling of %% in termcap strings.
Remove the assertion.
src/table.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/table.c b/src/table.c
index 24f8766..140e8c8 100644
--- a/src/table.c
+++ b/src/table.c
@@ -695,6 +695,7 @@ _vte_table_match(struct _vte_table *table,
}
/* Handle an escaped '%'. */
else if (p[1] == '%') {
+ p++;
}
/* Handle numeric parameters. */
else if ((p[1] == 'd') ||
@@ -720,7 +721,9 @@ _vte_table_match(struct _vte_table *table,
p[2]);
p += 2;
} else {
- g_assert_not_reached();
+ _vte_debug_print (VTE_DEBUG_PARSE,
+ "Invalid termcap sequence %s\n",
+ original);
}
} /* else Literal. */
arginfo = arginfo->next;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]