[gaim-migrate @ 2713]

Sat, 10 Nov 2001 01:05:19 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Sat, 10 Nov 2001 01:05:19 +0000
changeset 2700
75529756d416
parent 2699
8813557b1ce9
child 2701
9827ddde2cd6

[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;

mercurial