diff options
-rw-r--r-- | epan/tvbuff.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c index 57a5806c65..3dc1c89944 100644 --- a/epan/tvbuff.c +++ b/epan/tvbuff.c @@ -2233,6 +2233,7 @@ handle_ts_23_038_char(wmem_strbuf_t *strbuf, guint8 code_point, * table. */ saw_escape = TRUE; + uchar = '?'; } else { /* * Have we seen an escape? @@ -2240,8 +2241,9 @@ handle_ts_23_038_char(wmem_strbuf_t *strbuf, guint8 code_point, if (saw_escape) { saw_escape = FALSE; uchar = char_def_alphabet_ext_decode(code_point); - } else + } else { uchar = char_def_alphabet_decode(code_point); + } } wmem_strbuf_append_unichar(strbuf, uchar); return saw_escape; |