libpurple/protocols/mxit/markup.c

branch
mxit-2.x.y
changeset 33556
1fe2f250ff9e
parent 33209
bcacd5ab6e8f
child 33557
20e1edc44d99
equal deleted inserted replaced
33552:185f05b59f3f 33556:1fe2f250ff9e
1003 } 1003 }
1004 } 1004 }
1005 1005
1006 if ( msgflags & CP_MSG_FAREWELL ) { 1006 if ( msgflags & CP_MSG_FAREWELL ) {
1007 /* this is a farewell message */ 1007 /* this is a farewell message */
1008 GString* premsg = g_string_sized_new( 36 ); 1008 g_string_prepend( mx->msg, "<font color=\""MXIT_FAREWELL_MSG_COLOR"\"><i>" );
1009 g_string_append_printf( premsg, "<font color=\"%s\"><i>", MXIT_FAREWELL_MSG_COLOR );
1010 g_string_prepend( mx->msg, premsg->str );
1011 g_string_append( mx->msg, "</i></font>" ); 1009 g_string_append( mx->msg, "</i></font>" );
1012 g_string_free( premsg, TRUE );
1013 } 1010 }
1014 } 1011 }
1015 1012
1016 1013
1017 /*------------------------------------------------------------------------ 1014 /*------------------------------------------------------------------------

mercurial