Sat, 10 Nov 2001 01:05:19 +0000
[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.
| src/gtkimhtml.c | file | annotate | diff | comparison | revisions |
--- 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;