diff options
author | Gerald Combs <gerald@wireshark.org> | 2010-06-25 22:09:34 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2010-06-25 22:09:34 +0000 |
commit | 96558700c1b3128ce1540f598946fe7112c7954c (patch) | |
tree | 21b3565dc05d9d2d5afa4736e4ad007751dc7c10 /gtk/rtp_analysis.c | |
parent | ca6d2031cd0932b2e3a5eaa54336713afdf1ac74 (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/rtp_analysis.c')
-rw-r--r-- | gtk/rtp_analysis.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/rtp_analysis.c b/gtk/rtp_analysis.c index 79d8288754..aeacf1aa6d 100644 --- a/gtk/rtp_analysis.c +++ b/gtk/rtp_analysis.c @@ -84,6 +84,7 @@ #include "gtk/rtp_stream.h" #include "gtk/rtp_stream_dlg.h" #include "gtk/stock_icons.h" +#include "gtk/utf8_entities.h" #ifdef HAVE_LIBPORTAUDIO #include "gtk/graph_analysis.h" @@ -1151,7 +1152,7 @@ static void dialog_graph_draw(user_data_t* user_data) * Draw "x" for Sequence Errors and "m" for Marks */ /* Draw the labels Fwd and Rev */ - g_strlcpy(label_string,"<-Fwd",sizeof(label_string)); + g_strlcpy(label_string, UTF8_LEFTWARDS_ARROW "Fwd",sizeof(label_string)); pango_layout_set_text(layout, label_string, -1); pango_layout_get_pixel_size(layout, &lwidth, NULL); gdk_draw_layout(user_data->dlg.dialog_graph.pixmap, @@ -1159,7 +1160,7 @@ static void dialog_graph_draw(user_data_t* user_data) user_data->dlg.dialog_graph.pixmap_width-right_x_border+33-lwidth, user_data->dlg.dialog_graph.pixmap_height-bottom_y_border+3, layout); - g_strlcpy(label_string,"<-Rev",sizeof(label_string)); + g_strlcpy(label_string, UTF8_LEFTWARDS_ARROW "Rev",sizeof(label_string)); pango_layout_set_text(layout, label_string, -1); pango_layout_get_pixel_size(layout, &lwidth, NULL); gdk_draw_layout(user_data->dlg.dialog_graph.pixmap, |