diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2012-08-07 23:03:07 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2012-08-07 23:03:07 +0000 |
commit | f8b3e7c317ed7e5a22a75d6758b2ee750e2b6646 (patch) | |
tree | 84d6853cd2b2c6e1018b3ea38325fcf7dce92500 /ui | |
parent | 9b72dc1fb2ebc6fdaa208c1e8b82ef98cefbf775 (diff) |
Fix a test to avoid the cross leaving a line behind at the top of the
graph.
svn path=/trunk/; revision=44315
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/rlc_lte_graph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/rlc_lte_graph.c b/ui/gtk/rlc_lte_graph.c index 334ec9c9fc..713529e3e0 100644 --- a/ui/gtk/rlc_lte_graph.c +++ b/ui/gtk/rlc_lte_graph.c @@ -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); |