Ethereal-dev: Re: [Ethereal-dev] packet-rpc.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 18 Apr 2001 15:57:43 -0700 (PDT)
> (Now, if one could only get rid of that "Text (text)" thingy in the lower
> right corner
> which is displayed for text nodes also.)

The code in "tree_view_select_row_cb()" that sets that field has:

	/*if (finfo->hfinfo && finfo->hfinfo->type != FT_TEXT_ONLY) {*/
	if (finfo->hfinfo) {

The commented-out code won't work any more, as there's no longer an
FT_TEXT_ONLY type - the special field used for "proto_tree_add_text()"
is now of type FT_NONE, but there are other fields of that type, so we
can't just check for FT_NONE.