epan: Use check mark in protocol custom column
Change from the text "Yes" to a utf8 check mark to indicate the precense of a protocol in custom columns. Change-Id: I9510333fc12148bf1f61aa2ddea2c6d390a9491a Reviewed-on: https://code.wireshark.org/review/24783 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
16e5d73ecc
commit
158d929884
|
@ -31,6 +31,7 @@
|
|||
#include <wsutil/bits_ctz.h>
|
||||
#include <wsutil/bits_count_ones.h>
|
||||
#include <wsutil/sign_ext.h>
|
||||
#include <wsutil/utf8_entities.h>
|
||||
|
||||
#include <ftypes/ftypes-int.h>
|
||||
|
||||
|
@ -5733,8 +5734,8 @@ proto_custom_set(proto_tree* tree, GSList *field_ids, gint occurrence,
|
|||
break;
|
||||
|
||||
case FT_PROTOCOL:
|
||||
/* prevent multiple "yes" entries by setting result directly */
|
||||
g_strlcpy(result, "Yes", size);
|
||||
/* prevent multiple check marks by setting result directly */
|
||||
g_strlcpy(result, UTF8_CHECK_MARK, size);
|
||||
break;
|
||||
|
||||
case FT_UINT_BYTES:
|
||||
|
|
Loading…
Reference in New Issue