diff options
author | Michael Tüxen <tuexen@wireshark.org> | 2015-10-01 14:23:00 +0200 |
---|---|---|
committer | Michael Tüxen <tuexen@wireshark.org> | 2015-10-01 12:24:07 +0000 |
commit | e47ea6d7493c60e1761da4f5fbb6bee68fdb5847 (patch) | |
tree | 279a91c14013388bac3bd9fe3b1a650b2ed9f2ba /ui | |
parent | 4e9361dc88eefef27d031e29e2f8ca9891cc03eb (diff) |
Fix typos.
Change-Id: I3c03cbb064d1d7ffd579982b2e670b84b1768db2
Reviewed-on: https://code.wireshark.org/review/10717
Reviewed-by: Michael Tüxen <tuexen@wireshark.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/sctp_chunk_stat.c | 2 | ||||
-rw-r--r-- | ui/gtk/sctp_graph_dlg.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/sctp_chunk_stat.c b/ui/gtk/sctp_chunk_stat.c index 5742c428cf..5b4f64fa4c 100644 --- a/ui/gtk/sctp_chunk_stat.c +++ b/ui/gtk/sctp_chunk_stat.c @@ -207,7 +207,7 @@ sctpstat_draw(void *phs) 12, tmp->chunk_count[SCTP_ABORT_CHUNK_ID], 13, tmp->chunk_count[SCTP_ERROR_CHUNK_ID], 14, tmp->chunk_count[SCTP_NR_SACK_CHUNK_ID], - 15, tmp->chunk_count[SCTP_IDATA_CHUNK_ID], + 15, tmp->chunk_count[SCTP_I_DATA_CHUNK_ID], 16, tmp->chunk_count[SCTP_ASCONF_ACK_CHUNK_ID], 17, tmp->chunk_count[SCTP_PKTDROP_CHUNK_ID], 18, tmp->chunk_count[SCTP_FORWARD_TSN_CHUNK_ID], diff --git a/ui/gtk/sctp_graph_dlg.c b/ui/gtk/sctp_graph_dlg.c index 684636b8e0..0811c3671c 100644 --- a/ui/gtk/sctp_graph_dlg.c +++ b/ui/gtk/sctp_graph_dlg.c @@ -569,7 +569,7 @@ draw_tsn_graph(struct sctp_udata *u_data) while (tlist) { type = ((struct chunk_header *)tlist->data)->type; - if (type == SCTP_DATA_CHUNK_ID || type == SCTP_IDATA_CHUNK_ID || type == SCTP_FORWARD_TSN_CHUNK_ID) + if (type == SCTP_DATA_CHUNK_ID || type == SCTP_I_DATA_CHUNK_ID || type == SCTP_FORWARD_TSN_CHUNK_ID) tsnumber = g_ntohl(((struct data_chunk_header *)tlist->data)->tsn); if (tsnumber >= min_tsn && tsnumber <= max_tsn && tsn->secs >= min_secs) { @@ -589,7 +589,7 @@ draw_tsn_graph(struct sctp_udata *u_data) #else cr = gdk_cairo_create (u_data->io->pixmap); #endif - if ((type == SCTP_DATA_CHUNK_ID) || (type == SCTP_IDATA_CHUNK_ID)) + if ((type == SCTP_DATA_CHUNK_ID) || (type == SCTP_I_DATA_CHUNK_ID)) gdk_cairo_set_source_rgba (cr, &black_color); else gdk_cairo_set_source_rgba (cr, &pink_color); |