Mercurial > pidgin.yaz
changeset 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 | 234ce8eb132d |
children | 03d98a2e8e49 |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
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;