Mercurial > pidgin.yaz
diff src/util.c @ 5247:60983a46700e
[gaim-migrate @ 5618]
(22:40:26) Paco-Paco: gaim_find_buddy was an O(n) search through the blist tree, this adds an auxilliary hash to bring that down to O(1)
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 28 Apr 2003 02:41:00 +0000 |
parents | 890b29f00b68 |
children | cfbd0cb3f18b |
line wrap: on
line diff
--- a/src/util.c Sun Apr 27 22:45:09 2003 +0000 +++ b/src/util.c Mon Apr 28 02:41:00 2003 +0000 @@ -541,6 +541,9 @@ tmp = g_utf8_strdown(buf, -1); g_snprintf(buf, sizeof(buf), "%s", tmp); g_free(tmp); + tmp = g_utf8_normalize(buf, -1, G_NORMALIZE_DEFAULT); + g_snprintf(buf, sizeof(buf), "%s", tmp); + g_free(tmp); return buf; }