changeset 27210:0a8129263401

Show a friendlier error message on myspace when your username or password is wrong. This string matches the one in novell. I think we may be inconsistent with whether our error message strings end in periods
author Mark Doliner <mark@kingant.net>
date Fri, 19 Jun 2009 07:20:49 +0000
parents c4f0e47c7bed
children a167106a439a
files libpurple/protocols/myspace/myspace.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c	Fri Jun 19 07:13:20 2009 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Fri Jun 19 07:20:49 2009 +0000
@@ -1834,6 +1834,9 @@
 					/* Replace full_errmsg. */
 					g_free(full_errmsg);
 					full_errmsg = suggestion;
+				} else {
+					g_free(full_errmsg);
+					full_errmsg = g_strdup(_("Incorrect username or password"));
 				}
 #endif
 				break;