[gaim-migrate @ 9057]

Wed, 25 Feb 2004 20:04:36 +0000

author
Christian Hammond <chipx86@chipx86.com>
date
Wed, 25 Feb 2004 20:04:36 +0000
changeset 8333
09d55969e801
parent 8332
b708d3d428a4
child 8334
63e80b767766

[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;

mercurial