Mercurial > pidgin
changeset 2705:5f431eefb0f2
[gaim-migrate @ 2718]
no, that didn't work well. what's the right fix? god i hate fonts.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 10 Nov 2001 03:50:52 +0000 |
parents | fee85ed7fc3f |
children | e841b14b5b89 |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;