aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/follow_tcp.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2010-06-25 22:09:34 +0000
committerGerald Combs <gerald@wireshark.org>2010-06-25 22:09:34 +0000
commit96558700c1b3128ce1540f598946fe7112c7954c (patch)
tree21b3565dc05d9d2d5afa4736e4ad007751dc7c10 /gtk/follow_tcp.c
parentca6d2031cd0932b2e3a5eaa54336713afdf1ac74 (diff)
UTF-8-ize a bunch more arrows. If IE6 on XP can render them then they
*must* be safe to use, right? svn path=/trunk/; revision=33326
Diffstat (limited to 'gtk/follow_tcp.c')
-rw-r--r--gtk/follow_tcp.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/follow_tcp.c b/gtk/follow_tcp.c
index ec38d86199..2c79c435cb 100644
--- a/gtk/follow_tcp.c
+++ b/gtk/follow_tcp.c
@@ -68,6 +68,7 @@
#include "gtk/font_utils.h"
#include "gtk/help_dlg.h"
#include "gtk/follow_stream.h"
+#include "gtk/utf8_entities.h"
/* With MSVC and a libwireshark.dll, we need a special declaration. */
WS_VAR_IMPORT FILE *data_out_file;
@@ -106,7 +107,6 @@ follow_tcp_stream_cb(GtkWidget * w, gpointer data _U_)
tcp_stream_chunk sc;
size_t nchars;
gchar *data_out_filename;
- const char rarr_str[] = { 0xe2, 0x86, 0x92, 0x00 };
/* we got tcp so we can follow */
if (cfile.edt->pi.ipproto != IP_PROTO_TCP) {
@@ -271,14 +271,14 @@ follow_tcp_stream_cb(GtkWidget * w, gpointer data _U_)
/* Host 0 --> Host 1 */
if(sc.src_port == stats.port[0]) {
server_to_client_string =
- g_strdup_printf("%s:%s %s %s:%s (%u bytes)",
- hostname0, port0, rarr_str,
+ g_strdup_printf("%s:%s " UTF8_RIGHTWARDS_ARROW " %s:%s (%u bytes)",
+ hostname0, port0,
hostname1, port1,
stats.bytes_written[0]);
} else {
server_to_client_string =
- g_strdup_printf("%s:%s %s %s:%s (%u bytes)",
- hostname1, port1, rarr_str,
+ g_strdup_printf("%s:%s " UTF8_RIGHTWARDS_ARROW " %s:%s (%u bytes)",
+ hostname1, port1,
hostname0,port0,
stats.bytes_written[0]);
}
@@ -286,14 +286,14 @@ follow_tcp_stream_cb(GtkWidget * w, gpointer data _U_)
/* Host 1 --> Host 0 */
if(sc.src_port == stats.port[1]) {
client_to_server_string =
- g_strdup_printf("%s:%s %s %s:%s (%u bytes)",
- hostname0, port0, rarr_str,
+ g_strdup_printf("%s:%s " UTF8_RIGHTWARDS_ARROW " %s:%s (%u bytes)",
+ hostname0, port0,
hostname1, port1,
stats.bytes_written[1]);
} else {
client_to_server_string =
- g_strdup_printf("%s:%s %s %s:%s (%u bytes)",
- hostname1, port1, rarr_str,
+ g_strdup_printf("%s:%s " UTF8_RIGHTWARDS_ARROW " %s:%s (%u bytes)",
+ hostname1, port1,
hostname0, port0,
stats.bytes_written[1]);
}