forked from osmocom/wireshark
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:
parent
88184bc685
commit
a12ee2e673
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue