forked from osmocom/wireshark
Fix a test to avoid the cross leaving a line behind at the top of the
graph. svn path=/trunk/; revision=44315
This commit is contained in:
parent
9b72dc1fb2
commit
f8b3e7c317
|
@ -2189,8 +2189,8 @@ static void cross_draw(struct graph *g, int x, int y)
|
|||
}
|
||||
|
||||
/* Draw the cross */
|
||||
if (x > g->wp.x && x < g->wp.x+g->wp.width &&
|
||||
y >= g->wp.y && y < g->wp.y+g->wp.height) {
|
||||
if (x > g->wp.x && x < g->wp.x+g->wp.width &&
|
||||
y > g->wp.y && y < g->wp.y+g->wp.height) {
|
||||
|
||||
cairo_t *cr = gdk_cairo_create(gtk_widget_get_window(g->drawing_area));
|
||||
gdk_cairo_set_source_color(cr, &g->style.seq_color);
|
||||
|
|
Loading…
Reference in New Issue