diff options
Diffstat (limited to 'gtk/sctp_graph_dlg.c')
-rw-r--r-- | gtk/sctp_graph_dlg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/sctp_graph_dlg.c b/gtk/sctp_graph_dlg.c index 4b79b6f922..6309751f3a 100644 --- a/gtk/sctp_graph_dlg.c +++ b/gtk/sctp_graph_dlg.c @@ -224,7 +224,7 @@ draw_sack_graph(struct sctp_udata *u_data) if (xvalue >= LEFT_BORDER+u_data->io->offset && xvalue <= u_data->io->surface_width-RIGHT_BORDER+u_data->io->offset && yvalue >= TOP_BORDER-u_data->io->offset-POINT_SIZE && - yvalue <= u_data->io->surface_height-BOTTOM_BORDER-u_data->io->offset) + yvalue <= u_data->io->surface_height-BOTTOM_BORDER-u_data->io->offset) { #if GTK_CHECK_VERSION(2,22,0) cr = cairo_create (u_data->io->surface); #else @@ -239,6 +239,7 @@ draw_sack_graph(struct sctp_udata *u_data) 2 * G_PI); cairo_fill(cr); cairo_destroy(cr); + } } if (i < nr-1) gap++; |