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:
Martin Mathieson 2012-08-07 23:03:07 +00:00
parent 9b72dc1fb2
commit f8b3e7c317
1 changed files with 2 additions and 2 deletions

View File

@ -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);