summaryrefslogtreecommitdiff
path: root/ui/gtk/rtp_analysis.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2015-02-15 13:58:39 -0500
committerBill Meier <wmeier@newsguy.com>2015-02-15 19:02:30 +0000
commitbfde04b845485c5ebf0a9bed15392cf9f0c47374 (patch)
tree7a5ef55dbc0bf4163aa1eacc9c3964ea46b58f8b /ui/gtk/rtp_analysis.c
parent7229c54ae95c7cb6bf0637a1eb21ceeed53dc28d (diff)
downloadwireshark-bfde04b845485c5ebf0a9bed15392cf9f0c47374.tar.gz
ui/gtk/*.c: Add editor modelines; As needed: Fix indentation
Change-Id: I8cd9d9fe5f12c284f46b8f725766f681faccd753 Reviewed-on: https://code.wireshark.org/review/7138 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'ui/gtk/rtp_analysis.c')
-rw-r--r--ui/gtk/rtp_analysis.c23
1 files changed, 18 insertions, 5 deletions
diff --git a/ui/gtk/rtp_analysis.c b/ui/gtk/rtp_analysis.c
index 7b307d8a0e..6945d50c6f 100644
--- a/ui/gtk/rtp_analysis.c
+++ b/ui/gtk/rtp_analysis.c
@@ -777,8 +777,8 @@ rtp_packet_save_payload(tap_rtp_save_info_t *saveinfo,
* of the RTP data */
data = rtpinfo->info_data + rtpinfo->info_payload_offset;
nchars = fwrite(data, sizeof(unsigned char),
- (rtpinfo->info_payload_len - rtpinfo->info_padding_count),
- saveinfo->fp);
+ (rtpinfo->info_payload_len - rtpinfo->info_padding_count),
+ saveinfo->fp);
if (nchars != (rtpinfo->info_payload_len - rtpinfo->info_padding_count)) {
/* Write error or short write */
saveinfo->saved = FALSE;
@@ -828,7 +828,7 @@ on_destroy(GtkWidget *win _U_, user_data_t *user_data)
window_destroy(user_data->dlg.dialog_graph.window);
/* disable the "switch_page" signal in the dlg, otherwise will be called when the windows
- * is destroyed and cause an exception using GTK1*/
+ * is destroyed and cause an exception using GTK1*/
g_signal_handler_disconnect(user_data->dlg.notebook, user_data->dlg.notebook_signal_id);
g_free(user_data->f_tempname);
@@ -1229,8 +1229,8 @@ dialog_graph_draw(user_data_t* user_data)
left_x_border + 0.5,
user_data->dlg.dialog_graph.surface_height-bottom_y_border + 1.5);
cairo_line_to(cr,
- user_data->dlg.dialog_graph.surface_width - right_x_border + 1.5,
- user_data->dlg.dialog_graph.surface_height - bottom_y_border + 1.5);
+ user_data->dlg.dialog_graph.surface_width - right_x_border + 1.5,
+ user_data->dlg.dialog_graph.surface_height - bottom_y_border + 1.5);
cairo_stroke(cr);
cairo_destroy(cr);
@@ -4072,3 +4072,16 @@ register_tap_listener_rtp_analysis(void)
{
register_stat_tap_ui(&rtp_analysis_ui, NULL);
}
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 8
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * End:
+ *
+ * vi: set shiftwidth=8 tabstop=8 noexpandtab:
+ * :indentSize=8:tabSize=8:noTabs=false:
+ */