Mercurial > pidgin
diff src/gtkimhtml.c @ 3007:206bf0e4d560
[gaim-migrate @ 3020]
Another change to gtkimhtml's font loader. Thanks, Ben Miller.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 04 Mar 2002 23:55:14 +0000 |
parents | bfd2b1ef907c |
children | 11827e3d714c |
line wrap: on
line diff
--- a/src/gtkimhtml.c Mon Mar 04 19:15:12 2002 +0000 +++ b/src/gtkimhtml.c Mon Mar 04 23:55:14 2002 +0000 @@ -2127,10 +2127,11 @@ if (usesize && fontsize) { g_snprintf (fs, sizeof (fs), "%d", POINT_SIZE (fontsize)); newvals [PTSZ] = fs; - } else if (!usesize) + newvals [PXLSZ] = "*"; + } else if (!usesize) { newvals [PTSZ] = "*"; - newvals [PXLSZ] = "*"; - + newvals [PXLSZ] = "*"; + } if (name) { /* we got passed a name. it might be a list of names. */ @@ -2193,7 +2194,7 @@ italicsind = 0; usebold = TRUE; usesize = FALSE; - } else if (names && names[nameind++]) { + } else if (names && names[nameind++]) { useregenc = TRUE; italicsind = 0; usebold = TRUE;