From a79c12635f70e35dd84f932a5bb62fb159923976 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 13 Feb 2003 22:17:18 +0000 Subject: From Didier Gautheron: fix up the handling of the cross. svn path=/trunk/; revision=7138 --- gtk/tcp_graph.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gtk') diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c index d1960f22f7..27caa525fb 100644 --- a/gtk/tcp_graph.c +++ b/gtk/tcp_graph.c @@ -3,7 +3,7 @@ * By Pavel Mores * Win32 port: rwh@unifiedtech.com * - * $Id: tcp_graph.c,v 1.27 2003/01/08 02:19:51 guy Exp $ + * $Id: tcp_graph.c,v 1.28 2003/02/13 22:17:18 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -2029,6 +2029,9 @@ static void graph_pixmap_display (struct graph *g) gdk_draw_pixmap (g->drawing_area->window, g->fg_gc, g->pixmap[g->displayed], 0, 0, g->wp.x, g->wp.y, g->wp.width, g->wp.height); + if (g->cross.erase_needed) { + cross_xor(g, g->cross.x, g->cross.y); + } } static void graph_pixmaps_switch (struct graph *g) -- cgit v1.2.3