Wed, 25 Feb 2004 20:04:36 +0000
[gaim-migrate @ 9057]
The naming of this macro was confusing. Changed it a bit.
| src/protocols/msn/msn.c | file | annotate | diff | comparison | revisions |
--- 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;