# HG changeset patch # User Eric Warmenhoven # Date 1005364252 0 # Node ID 5f431eefb0f28c237bf97c9b61b7b1564841fbbd # Parent fee85ed7fc3f37330e39eae8549ab9e68036ef11 [gaim-migrate @ 2718] no, that didn't work well. what's the right fix? god i hate fonts. committer: Tailor Script diff -r fee85ed7fc3f -r 5f431eefb0f2 src/gtkimhtml.c --- a/src/gtkimhtml.c Sat Nov 10 02:07:37 2001 +0000 +++ b/src/gtkimhtml.c Sat Nov 10 03:50:52 2001 +0000 @@ -1928,8 +1928,13 @@ newvals [NAME] = names [i]; if (xflds [PTSZ][0]) { + g_snprintf (fs, sizeof (fs), "%d", + font_sizes [MIN (fontsize, MAX_SIZE) - 1] / 10); + newvals [PTSZ] = fs; + newvals [SIZE] = ""; + TRY_FONT; + newvals [PTSZ] = xflds [PTSZ]; - newvals [SIZE] = ""; } else newvals [SIZE] = xflds [SIZE]; TRY_FONT;