comparison src/util.c @ 10593:ffabeb0fdc64

[gaim-migrate @ 12005] Fix bug 1121570 - crash parsing invalid html committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 13 Feb 2005 19:12:36 +0000
parents 0f7452b1f777
children 522b719ea774
comparison
equal deleted inserted replaced
10592:d72fffd1b1ad 10593:ffabeb0fdc64
1089 g_string_append_printf(style, "font-size: %s; ", size); 1089 g_string_append_printf(style, "font-size: %s; ", size);
1090 p = q; 1090 p = q;
1091 } 1091 }
1092 p++; 1092 p++;
1093 } 1093 }
1094 c = strchr(c, '>') + 1; 1094 if ((c = strchr(c, '>')) != NULL)
1095 c++;
1096 else
1097 c = p;
1095 pt = g_new0(struct gaim_parse_tag, 1); 1098 pt = g_new0(struct gaim_parse_tag, 1);
1096 pt->src_tag = "font"; 1099 pt->src_tag = "font";
1097 pt->dest_tag = "span"; 1100 pt->dest_tag = "span";
1098 tags = g_list_prepend(tags, pt); 1101 tags = g_list_prepend(tags, pt);
1099 if(style->len) 1102 if(style->len)