# HG changeset patch # User Mark Doliner # Date 1258932892 0 # Node ID 04b0ba94d646f2d9b3e73492de6f11e5d44b655f # Parent cfde83c57a986cd2adaff4b687e5bf4c6f574800 Accidentally reversed this logic in an earlier commit diff -r cfde83c57a98 -r 04b0ba94d646 libpurple/protocols/mxit/actions.c --- a/libpurple/protocols/mxit/actions.c Sun Nov 22 23:13:19 2009 +0000 +++ b/libpurple/protocols/mxit/actions.c Sun Nov 22 23:34:52 2009 +0000 @@ -218,7 +218,7 @@ acount++; /* update gender */ - profile->male = ( purple_request_fields_get_choice( fields, "male" ) == 0 ); + profile->male = ( purple_request_fields_get_choice( fields, "male" ) != 0 ); g_snprintf( attrib, sizeof( attrib ), "\01%s\01%i\01%s", CP_PROFILE_GENDER, CP_PROF_TYPE_BOOL, ( profile->male ) ? "1" : "0" ); g_string_append( attributes, attrib ); acount++; diff -r cfde83c57a98 -r 04b0ba94d646 libpurple/protocols/mxit/login.c --- a/libpurple/protocols/mxit/login.c Sun Nov 22 23:13:19 2009 +0000 +++ b/libpurple/protocols/mxit/login.c Sun Nov 22 23:34:52 2009 +0000 @@ -254,7 +254,7 @@ g_strlcpy( profile->birthday, str, sizeof( profile->birthday ) ); /* gender */ - profile->male = ( purple_request_fields_get_choice( fields, "male" ) == 0 ); + profile->male = ( purple_request_fields_get_choice( fields, "male" ) != 0 ); /* pin */ pin = purple_request_fields_get_string( fields, "pin" );