Mercurial > pidgin
changeset 8333:85dbaac926a7
[gaim-migrate @ 9057]
The naming of this macro was confusing. Changed it a bit.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 25 Feb 2004 20:04:36 +0000 |
parents | f4a878d48254 |
children | 0d1e5870d328 |
files | src/protocols/msn/msn.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/msn.c Wed Feb 25 19:34:26 2004 +0000 +++ b/src/protocols/msn/msn.c Wed Feb 25 20:04:36 2004 +0000 @@ -32,7 +32,7 @@ #include "multi.h" #include "util.h" -#define BUDDY_ALIAS_MAXLEN 388 +#define BUDDY_ALIAS_MAXLEN 387 static GaimPlugin *my_protocol = NULL; @@ -65,7 +65,8 @@ else alias = g_strdup(entry); - if (strlen(alias) >= BUDDY_ALIAS_MAXLEN) { + if (strlen(alias) > BUDDY_ALIAS_MAXLEN) + { gaim_notify_error(gc, NULL, _("Your new MSN friendly name is too long."), NULL); return;