diff src/util.c @ 1441:5c67b8794991

[gaim-migrate @ 1451] patch from decklin to have default font size. yum. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 29 Jan 2001 01:19:24 +0000
parents 730a1a19b4cc
children ba83e9e2fd9b
line wrap: on
line diff
--- a/src/util.c	Mon Jan 29 01:13:31 2001 +0000
+++ b/src/util.c	Mon Jan 29 01:19:24 2001 +0000
@@ -1050,6 +1050,11 @@
 		strcpy(buf, tmp);
 	}
 
+	if (font_options & OPT_FONT_SIZE) {
+		g_snprintf(tmp, length, "<FONT SIZE=\"%d\">%s</FONT>", fontsize, buf);
+		strcpy(buf, tmp);
+	}
+
 	if (font_options & OPT_FONT_FGCOL) {
 		g_snprintf(tmp, length, "<FONT COLOR=\"#%02X%02X%02X\">%s</FONT>", fgcolor.red,
 			   fgcolor.green, fgcolor.blue, buf);