diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-02-13 22:17:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-02-13 22:17:18 +0000 |
commit | a79c12635f70e35dd84f932a5bb62fb159923976 (patch) | |
tree | 2de0bd80cd12721598aeb3300be2965bccdde959 /gtk | |
parent | 1bea0a66e83eaf78b8a697e28c99feeb8bfe1083 (diff) |
From Didier Gautheron: fix up the handling of the cross.
svn path=/trunk/; revision=7138
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/tcp_graph.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 <pvl@uh.cz> * 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 <gerald@ethereal.com> @@ -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) |