src/protocols/bonjour/jabber.c

changeset 11830
a0cae984e2d9
parent 11826
10ebbc41f163
child 12443
ad94864144f8
equal deleted inserted replaced
11829:8d89f3c00831 11830:a0cae984e2d9
204 if (ichat_text_color == NULL) ichat_text_color = "#000000"; 204 if (ichat_text_color == NULL) ichat_text_color = "#000000";
205 if (ichat_balloon_color == NULL) ichat_balloon_color = "#FFFFFF"; 205 if (ichat_balloon_color == NULL) ichat_balloon_color = "#FFFFFF";
206 body = g_strconcat("<font face='", font_face, "' size='", font_size, "' color='", ichat_text_color, 206 body = g_strconcat("<font face='", font_face, "' size='", font_size, "' color='", ichat_text_color,
207 "' back='", ichat_balloon_color, "'>", html_body, "</font>", NULL); 207 "' back='", ichat_balloon_color, "'>", html_body, "</font>", NULL);
208 } 208 }
209 g_free(font_size);
210 209
211 /* Send the message to the UI */ 210 /* Send the message to the UI */
212 serv_got_im(connection, gb->name, body, 0, time(NULL)); 211 serv_got_im(connection, gb->name, body, 0, time(NULL));
213 212
214 /* Free all the strings and nodes (the attributes are freed with their nodes) */ 213 /* Free all the strings and nodes (the attributes are freed with their nodes) */

mercurial