Mercurial > pidgin
diff src/protocols/msn/msn.c @ 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 | c719f9a181d4 |
children | 57e5ef6b7a69 |
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;