# HG changeset patch # User Mark Doliner # Date 1057479060 0 # Node ID 460b4ba2d452b556f403e44738d428cb08decce0 # Parent ac0dd4dd946590e02b027ae02a7d9442cc891838 [gaim-migrate @ 6492] This fixes http://sourceforge.net/tracker/index.php?func=detail&aid=761532&group_id=235&atid=100235 It basically puts the cap on the max font size at 100. I thought this was done a while ago, but maybe not? committer: Tailor Script diff -r ac0dd4dd9465 -r 460b4ba2d452 src/gtkimhtml.c --- a/src/gtkimhtml.c Sun Jul 06 07:53:26 2003 +0000 +++ b/src/gtkimhtml.c Sun Jul 06 08:11:00 2003 +0000 @@ -1228,6 +1228,8 @@ } else if (isdigit (*size)) { sscanf (size, "%hd", &font->size); } + if (font->size > 100) + font->size = 100; } else if (oldfont) font->size = oldfont->size; g_free(size);