From 8d2350875eea58a8fb8b5609f4057e8f4df93566 Mon Sep 17 00:00:00 2001 From: gerald Date: Mon, 31 Dec 2001 20:40:34 +0000 Subject: Fix a pointer error in find_stat_node. Define a default width and maximum height for the stats dialog. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4463 f5534014-38df-0310-8fa8-9805f1628bb7 --- proto_hier_stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto_hier_stats.c') diff --git a/proto_hier_stats.c b/proto_hier_stats.c index 146dfe8c72..c796d7089b 100644 --- a/proto_hier_stats.c +++ b/proto_hier_stats.c @@ -1,7 +1,7 @@ /* proto_hier_stats.c * Routines for calculating statistics based on protocol. * - * $Id: proto_hier_stats.c,v 1.8 2001/12/18 19:09:02 gram Exp $ + * $Id: proto_hier_stats.c,v 1.9 2001/12/31 20:40:32 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -49,7 +49,7 @@ find_stat_node(GNode *parent_node, header_field_info *needle_hfinfo) needle_node = g_node_first_child(parent_node); while (needle_node) { - finfo = PITEM_FINFO(needle_node); + finfo = GNODE_PNODE(needle_node); if (finfo && finfo->hfinfo && finfo->hfinfo->id == needle_hfinfo->id) { return needle_node; } -- cgit v1.2.3