diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-11-09 19:53:08 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-11-09 20:01:58 -0500 |
commit | 91448540f68235c7e1975fa604842b7872bc0f7a (patch) | |
tree | e8cec867c8288c8b7036a9836cb7d9af05e74d27 /src | |
parent | 59d08fab676cccbed8df7f8e9d9a39bab6e5413d (diff) |
Bug 601265 - gnome-terminal assert failure: table.c:723:_vte_table_match
Fix handling of %% in termcap strings.
Remove the assertion.
Diffstat (limited to 'src')
-rw-r--r-- | 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; |