diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-12-24 01:03:59 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-12-24 01:03:59 +0000 |
commit | 5f91a0afc7aabda4670bfb20616af6cbbfd0360d (patch) | |
tree | 66816f00efaf6e77b86173c053b571fab8b8dabf | |
parent | 5a81522aa23745199b364a987ee8a8dfc670da77 (diff) | |
download | wireshark-5f91a0afc7aabda4670bfb20616af6cbbfd0360d.tar.gz |
Oops, escape characters shouldn't cause anything to be added to the
string, they should just cause TRUE to be returned - it's the *next*
code point that gets treated specially and, after mapping, added to the
string.
svn path=/trunk/; revision=54431
-rw-r--r-- | epan/tvbuff.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c index 3dc1c89944..0f88d491f1 100644 --- a/epan/tvbuff.c +++ b/epan/tvbuff.c @@ -2233,7 +2233,6 @@ handle_ts_23_038_char(wmem_strbuf_t *strbuf, guint8 code_point, * table. */ saw_escape = TRUE; - uchar = '?'; } else { /* * Have we seen an escape? @@ -2244,8 +2243,8 @@ handle_ts_23_038_char(wmem_strbuf_t *strbuf, guint8 code_point, } else { uchar = char_def_alphabet_decode(code_point); } + wmem_strbuf_append_unichar(strbuf, uchar); } - wmem_strbuf_append_unichar(strbuf, uchar); return saw_escape; } |