Mercurial > pidgin.yaz
diff src/gtkimhtml.c @ 5367:fc0441fbf159
[gaim-migrate @ 5743]
javabsp fixed y!m point sizes (again)
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 14 May 2003 04:11:23 +0000 |
parents | ead927e2543f |
children | e2f2d8857f9f |
line wrap: on
line diff
--- a/src/gtkimhtml.c Wed May 14 01:15:58 2003 +0000 +++ b/src/gtkimhtml.c Wed May 14 04:11:23 2003 +0000 @@ -71,7 +71,7 @@ /* POINT_SIZE converts from AIM font sizes to point sizes. It probably should be redone in such a * way that it base the sizes off the default font size rather than using arbitrary font sizes. */ #define MAX_FONT_SIZE 7 -#define POINT_SIZE(x) (_point_sizes [MIN ((x), MAX_FONT_SIZE) - 1]) +#define POINT_SIZE(x) (options & GTK_IMHTML_USE_POINTSIZE ? x : _point_sizes [MIN ((x), MAX_FONT_SIZE) - 1]) static gint _point_sizes [] = { 8, 10, 12, 14, 20, 30, 40 }; /* The four elements present in a <FONT> tag contained in a struct */