# HG changeset patch # User Eric Warmenhoven # Date 1005354319 0 # Node ID 59b9b9bed67f3a3dc0c7fbec2a04048e4dd909a4 # Parent 092c5a1ddf72094a81018fe1e33b3e64863adec3 [gaim-migrate @ 2713] i heard the old way was wrong. this is more correct but i feel it's still not correct enough. i wish i understood fonts. committer: Tailor Script diff -r 092c5a1ddf72 -r 59b9b9bed67f src/gtkimhtml.c --- a/src/gtkimhtml.c Fri Nov 09 03:11:56 2001 +0000 +++ b/src/gtkimhtml.c Sat Nov 10 01:05:19 2001 +0000 @@ -1928,13 +1928,8 @@ 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 [PTSZ] = xflds [PTSZ]; newvals [SIZE] = ""; - TRY_FONT; - - newvals [PTSZ] = xflds [PTSZ]; } else newvals [SIZE] = xflds [SIZE]; TRY_FONT;