diff options
author | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-12-27 21:44:34 +0000 |
---|---|---|
committer | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-12-27 21:44:34 +0000 |
commit | ecf80b355eb489264d6872c915b1097b2ae27423 (patch) | |
tree | e4a8320ce19f1c798c767d38a0c51f9b7ac2cc1a | |
parent | 050b24a2db403d3f5150556b48016db844884468 (diff) |
The RTP Player shows the number of seconds since the beginning of that
call's packet flow along the x-axis. Add " s" to the end of each number
to give the user an idea those numbers are seconds.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35278 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | gtk/rtp_player.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/rtp_player.c b/gtk/rtp_player.c index 81a6eefa14..6879479d58 100644 --- a/gtk/rtp_player.c +++ b/gtk/rtp_player.c @@ -1366,7 +1366,7 @@ static void channel_draw(rtp_channel_info_t* rci) (int) (i - offset), rci->draw_area->allocation.height-HEIGHT_TIME_LABEL+4); - g_snprintf(label_string, MAX_TIME_LABEL, "%.0f", floor(rci->start_time/1000) + i*MULT/SAMPLE_RATE); + g_snprintf(label_string, MAX_TIME_LABEL, "%.0f s", floor(rci->start_time/1000) + i*MULT/SAMPLE_RATE); pango_layout_set_text(small_layout, label_string, -1); pango_layout_get_pixel_size(small_layout, &label_width, &label_height); |