diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2009-09-04 13:23:51 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2009-09-04 13:23:51 +0000 |
commit | 798b1ecdb209b5b4ef9f420b72afbaaa50af209e (patch) | |
tree | fd43dfa49d5108631fbc0d072f7b1fa6368d1f44 /gtk/sctp_graph_dlg.c | |
parent | 471111ffc6afc5cfa66427d0d3b2482102b9d546 (diff) |
Cleanup whitespaces.
svn path=/trunk/; revision=29698
Diffstat (limited to 'gtk/sctp_graph_dlg.c')
-rw-r--r-- | gtk/sctp_graph_dlg.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk/sctp_graph_dlg.c b/gtk/sctp_graph_dlg.c index 3ed44596f3..5616deee6d 100644 --- a/gtk/sctp_graph_dlg.c +++ b/gtk/sctp_graph_dlg.c @@ -235,9 +235,9 @@ static void draw_sack_graph(struct sctp_udata *u_data) yvalue >= TOP_BORDER-u_data->io->offset-POINT_SIZE && yvalue <= u_data->io->pixmap_height-BOTTOM_BORDER-u_data->io->offset) gdk_draw_arc(u_data->io->pixmap,green_gc,TRUE, - xvalue, - yvalue, - POINT_SIZE, POINT_SIZE,0, (64*360) ); + xvalue, + yvalue, + POINT_SIZE, POINT_SIZE,0, (64*360) ); } if (i < nr-1) gap++; @@ -267,7 +267,7 @@ static void draw_sack_graph(struct sctp_udata *u_data) if (dup_nr > 0) { dup_list = (guint32 *)(((char *)&sack_header->nr_of_dups)+sizeof(guint16)+(nr*sizeof(struct gaps))); - for(i = 0; i < dup_nr; i++) + for (i = 0; i < dup_nr; i++) { dup = g_ntohl(dup_list[i]); if (dup >= min_tsn) @@ -279,13 +279,13 @@ static void draw_sack_graph(struct sctp_udata *u_data) xvalue = (guint32)(LEFT_BORDER+u_data->io->offset+u_data->io->x_interval*diff); yvalue = (guint32)(u_data->io->pixmap_height-BOTTOM_BORDER-POINT_SIZE -u_data->io->offset-((SUB_32(dup,min_tsn))*u_data->io->y_interval)); if (xvalue >= LEFT_BORDER+u_data->io->offset && - xvalue <= u_data->io->pixmap_width-RIGHT_BORDER+u_data->io->offset && - yvalue >= TOP_BORDER-u_data->io->offset-POINT_SIZE && - yvalue <= u_data->io->pixmap_height-BOTTOM_BORDER-u_data->io->offset) + xvalue <= u_data->io->pixmap_width-RIGHT_BORDER+u_data->io->offset && + yvalue >= TOP_BORDER-u_data->io->offset-POINT_SIZE && + yvalue <= u_data->io->pixmap_height-BOTTOM_BORDER-u_data->io->offset) gdk_draw_arc(u_data->io->pixmap,cyan_gc,TRUE, - xvalue, - yvalue, - POINT_SIZE, POINT_SIZE,0, (64*360) ); + xvalue, + yvalue, + POINT_SIZE, POINT_SIZE,0, (64*360) ); } } } |