Mercurial > pidgin.yaz
diff src/log.c @ 10645:6480697e907b
[gaim-migrate @ 12157]
Thanks to Richard Laager, our log files will be considerably shorter and
we'll be able to see the correct smileys, regardless of log type.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 28 Feb 2005 18:18:22 +0000 |
parents | 0f7452b1f777 |
children | c4cb90065e1d |
line wrap: on
line diff
--- a/src/log.c Sun Feb 27 20:47:00 2005 +0000 +++ b/src/log.c Mon Feb 28 18:18:22 2005 +0000 @@ -562,7 +562,6 @@ char *msg_fixed; char date[64]; GaimPlugin *plugin = gaim_find_prpl(gaim_account_get_protocol_id(log->account)); - const char *prpl_name = plugin->info->name; struct generic_logger_data *data = log->logger_data; if(!data) { @@ -610,18 +609,18 @@ fprintf(data->file, _("<font color=\"#A82F2F\"><font size=\"2\">(%s)</font> <b>%s <AUTO-REPLY>:</b></font> %s<br/>\n"), date, from, msg_fixed); } else if (type & GAIM_MESSAGE_RECV) { if(gaim_message_meify(msg_fixed, -1)) - fprintf(data->file, "<font color=\"#6C2585\"><font size=\"2\">(%s)</font> <b>***%s</b></font> <font sml=\"%s\">%s</font><br/>\n", - date, from, prpl_name, msg_fixed); + fprintf(data->file, "<font color=\"#6C2585\"><font size=\"2\">(%s)</font> <b>***%s</b></font> %s<br/>\n", + date, from, msg_fixed); else - fprintf(data->file, "<font color=\"#A82F2F\"><font size=\"2\">(%s)</font> <b>%s:</b></font> <font sml=\"%s\">%s</font><br/>\n", - date, from, prpl_name, msg_fixed); + fprintf(data->file, "<font color=\"#A82F2F\"><font size=\"2\">(%s)</font> <b>%s:</b></font> %s<br/>\n", + date, from, msg_fixed); } else if (type & GAIM_MESSAGE_SEND) { if(gaim_message_meify(msg_fixed, -1)) - fprintf(data->file, "<font color=\"#6C2585\"><font size=\"2\">(%s)</font> <b>***%s</b></font> <font sml=\"%s\">%s</font><br/>\n", - date, from, prpl_name, msg_fixed); + fprintf(data->file, "<font color=\"#6C2585\"><font size=\"2\">(%s)</font> <b>***%s</b></font> %s<br/>\n", + date, from, msg_fixed); else - fprintf(data->file, "<font color=\"#16569E\"><font size=\"2\">(%s)</font> <b>%s:</b></font> <font sml=\"%s\">%s</font><br/>\n", - date, from, prpl_name, msg_fixed); + fprintf(data->file, "<font color=\"#16569E\"><font size=\"2\">(%s)</font> <b>%s:</b></font> %s<br/>\n", + date, from, msg_fixed); } }