changeset 31951:26f61ef1224b

Fixed properly now.
author andrew.victor@mxit.com
date Tue, 23 Aug 2011 08:33:52 +0000
parents 9d7c8d6f4a66
children e4ae42f9da68
files libpurple/protocols/mxit/login.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/mxit/login.c	Tue Aug 23 08:23:36 2011 +0000
+++ b/libpurple/protocols/mxit/login.c	Tue Aug 23 08:33:52 2011 +0000
@@ -57,7 +57,7 @@
 		const char* username	= purple_account_get_username( account );
 
 		if ( username[0] == '+' ) {
-			char* fixed	= g_strdup( &account->username[1] );
+			char* fixed	= g_strdup( &username[1] );
 			purple_account_set_username( account, fixed );
 			g_free( fixed );
 		}