changeset 2700:59b9b9bed67f

[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 <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 10 Nov 2001 01:05:19 +0000
parents 092c5a1ddf72
children 8a84f2bb1716
files src/gtkimhtml.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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;