Fix 'Misaligned columns in hex dump pane' [1]

Old code was broken for all pango version < 1.20

[1] http://www.wireshark.org/lists/wireshark-dev/201306/msg00015.html

svn path=/trunk/; revision=49848
This commit is contained in:
Jakub Zawadzki 2013-06-08 18:57:49 +00:00
parent 88184bc685
commit a12ee2e673
1 changed files with 1 additions and 0 deletions

View File

@ -1363,6 +1363,7 @@ bytes_view_set_font(BytesView *bv, PangoFontDescription *font)
if (bv->font)
pango_font_description_free(bv->font);
gtk_widget_modify_font(GTK_WIDGET(bv), font);
bv->font = pango_font_description_copy(font);
bv->max_width = 0;