Mercurial > hg
comparison mcabber/src/roster.c @ 469:a926523d2392
Use UTF8 to handle resources and room nicknames
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 01 Oct 2005 23:17:05 +0200 |
parents | 644b8bf9ca4d |
children | 882e1acae422 |
comparison
equal
deleted
inserted
replaced
468:644b8bf9ca4d | 469:a926523d2392 |
---|---|
752 { | 752 { |
753 roster *roster_usr = rosterdata; | 753 roster *roster_usr = rosterdata; |
754 return roster_usr->name; | 754 return roster_usr->name; |
755 } | 755 } |
756 | 756 |
757 void buddy_setnickname(gpointer rosterdata, char *newname) | 757 void buddy_setnickname(gpointer rosterdata, const char *newname) |
758 { | 758 { |
759 roster *roster_usr = rosterdata; | 759 roster *roster_usr = rosterdata; |
760 | 760 |
761 if (!roster_usr->type & ROSTER_TYPE_ROOM) return; | 761 if (!roster_usr->type & ROSTER_TYPE_ROOM) return; |
762 | 762 |