[gaim-migrate @ 6492]

Sun, 06 Jul 2003 08:11:00 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sun, 06 Jul 2003 08:11:00 +0000
changeset 6042
e329fe962c9a
parent 6041
2beb9f7f30ef
child 6043
7c745c344256

[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?

src/gtkimhtml.c file | annotate | diff | comparison | revisions
--- 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);

mercurial