aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/sctp_byte_graph_dlg.c
diff options
context:
space:
mode:
authorIrene RĂ¼ngeler <I.Ruengeler@fh-muenster.de>2013-07-03 14:12:44 +0000
committerIrene RĂ¼ngeler <I.Ruengeler@fh-muenster.de>2013-07-03 14:12:44 +0000
commit88ae57458f93cabd39888de88c227f5a3c2d4429 (patch)
tree5bd1d7fd25883dc6e3c4f279d279a38250c0e4ee /ui/gtk/sctp_byte_graph_dlg.c
parent0bad33df964c58ce194f34a607866c3619591286 (diff)
Attachment #11134 proposed as fix for bug #8899 by Peter Hatina
svn path=/trunk/; revision=50341
Diffstat (limited to 'ui/gtk/sctp_byte_graph_dlg.c')
-rw-r--r--ui/gtk/sctp_byte_graph_dlg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gtk/sctp_byte_graph_dlg.c b/ui/gtk/sctp_byte_graph_dlg.c
index f9079fa028..8226635959 100644
--- a/ui/gtk/sctp_byte_graph_dlg.c
+++ b/ui/gtk/sctp_byte_graph_dlg.c
@@ -1145,9 +1145,8 @@ on_button_release_event (GtkWidget *widget _U_, GdkEventButton *event, gpointer
tmptsn =(tsn_t*)(tsnlist->data);
tfirst = tsn->secs + tsn->usecs/1000000.0;
- while (tsnlist)
+ for (tsnlist = g_list_previous(tsnlist); tsnlist; tsnlist = g_list_previous(tsnlist))
{
- tsnlist = g_list_previous(tsnlist);
tsn = (tsn_t*) (tsnlist->data);
if (tsn->secs+tsn->usecs/1000000.0<x_value)
{