src/gtkimhtml.c

changeset 6042
e329fe962c9a
parent 5967
df8268ccde45
child 6046
f2af575a82b0
--- 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