forked from osmocom/wireshark
Well, yeah, you can leave the list of patterns out, but then they don't
show up in the UI, and they appear to show up in the UI in the Windows apps I've seen, so I guess Windows apps put the list of patterns into the description. svn path=/trunk/; revision=40642
This commit is contained in:
parent
d494beebcf
commit
cc4bae5159
|
@ -1489,7 +1489,8 @@ build_file_type_list(gboolean save, int *item_to_select) {
|
|||
}
|
||||
|
||||
/* Construct the description. */
|
||||
g_string_printf(description_str, "%s", wtap_file_type_string(ft));
|
||||
g_string_printf(description_str, "%s (%s)", wtap_file_type_string(ft),
|
||||
pattern_str->str);
|
||||
str16 = utf_8to16(description_str->str);
|
||||
sa = g_array_append_vals(sa, str16, (guint) strlen(description_str->str));
|
||||
sa = g_array_append_val(sa, zero);
|
||||
|
|
Loading…
Reference in New Issue