diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-10-16 16:24:32 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-10-16 23:27:20 +0000 |
commit | 4695ea20cc8f241c5b2ae0e6fc380cc583ee5050 (patch) | |
tree | 3488e1dda7d07af9b8d5fecbeef5c05cf722ea65 /wsutil | |
parent | b05803db4b7079307565e423a8caf828949add49 (diff) |
Add DEGREE SIGN character to utf8_entities.h and use it.
Add a #define giving the UTF-8 sequence for DEGREE SIGN, and use it in
packet-synphasor.c rather than having it define its own version. Use it
in some other places rather than a string of two octal values.
Change-Id: Ic0f3b23ae0165c9824d89304d683f45bce31dced
Reviewed-on: https://code.wireshark.org/review/11102
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/utf8_entities.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wsutil/utf8_entities.h b/wsutil/utf8_entities.h index 0fab083674..62254c1736 100644 --- a/wsutil/utf8_entities.h +++ b/wsutil/utf8_entities.h @@ -31,6 +31,7 @@ * and other places */ +#define UTF8_DEGREE_SIGN "\xc2\xb0" /* 176 / 0xb0 */ #define UTF8_MIDDLE_DOT "\xc2\xb7" /* 183 / 0xb7 */ #define UTF8_BULLET "\xe2\x80\xa2" /* 8226 / 0x2024 */ |