comparison libpurple/protocols/msn/msnutils.c @ 27557:444542a43790

Bold + Underline + Italic + Strikethrough + NUL character equals 5 bytes, not 4. Fixes #9407.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 12 Jul 2009 04:41:10 +0000
parents 9487c9b7a01f
children 8490c8eb4aa8 5a70b5364229
comparison
equal deleted inserted replaced
27555:5345dfe48272 27557:444542a43790
220 { 220 {
221 int len, retcount = 0; 221 int len, retcount = 0;
222 const char *c; 222 const char *c;
223 char *msg; 223 char *msg;
224 char *fontface = NULL; 224 char *fontface = NULL;
225 char fonteffect[4]; 225 char fonteffect[5];
226 char fontcolor[7]; 226 char fontcolor[7];
227 char direction = '0'; 227 char direction = '0';
228 228
229 gboolean has_bold = FALSE; 229 gboolean has_bold = FALSE;
230 gboolean has_italic = FALSE; 230 gboolean has_italic = FALSE;