Mercurial > pidgin.yaz
diff src/log.c @ 7107:9220c7490cd1
[gaim-migrate @ 7672]
This is a big one: normalize() -> gaim_normalize, linkify_text() ->
gaim_markup_linkify(), gaim_get_size_string() -> gaim_str_size_to_units(),
and moved clean_pid() to main.c.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 01 Oct 2003 06:17:28 +0000 |
parents | 0c5637b5462e |
children | 6faeeecab0dc |
line wrap: on
line diff
--- a/src/log.c Wed Oct 01 05:56:58 2003 +0000 +++ b/src/log.c Wed Oct 01 06:17:28 2003 +0000 @@ -47,11 +47,11 @@ struct log_conversation *l; - strcpy(pname, normalize(name)); + strcpy(pname, gaim_normalize(name)); while (lc) { l = (struct log_conversation *)lc->data; - if (!gaim_utf8_strcasecmp(pname, normalize(l->name))) { + if (!gaim_utf8_strcasecmp(pname, gaim_normalize(l->name))) { g_free(pname); return l; } @@ -215,7 +215,7 @@ return fd; } - g_snprintf(realname, sizeof(realname), "%s.log", normalize(name)); + g_snprintf(realname, sizeof(realname), "%s.log", gaim_normalize(name)); fd = open_gaim_log_file(realname, &flag); if (fd && flag) { /* is a new file */