From: Eric W. <war...@us...> - 2001-11-10 03:50:55
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv20345 Modified Files: gtkimhtml.c Log Message: no, that didn't work well. what's the right fix? god i hate fonts. Index: gtkimhtml.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtkimhtml.c,v retrieving revision 1.71 retrieving revision 1.72 diff -u -d -r1.71 -r1.72 --- gtkimhtml.c 2001/11/10 01:05:19 1.71 +++ gtkimhtml.c 2001/11/10 03:50:52 1.72 @@ -1928,8 +1928,13 @@ newvals [NAME] = names [i]; if (xflds [PTSZ][0]) { - newvals [PTSZ] = xflds [PTSZ]; + 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]; } else newvals [SIZE] = xflds [SIZE]; TRY_FONT; |