Mercurial > pidgin.yaz
diff libpurple/protocols/mxit/actions.c @ 32361:93cb9f408df4
Whitespace changes for coding-style consistency.
author | andrew.victor@mxit.com |
---|---|
date | Sun, 21 Aug 2011 15:28:07 +0000 |
parents | 82ca1b879265 |
children | 4b15c5c68aa4 |
line wrap: on
line diff
--- a/libpurple/protocols/mxit/actions.c Sun Aug 21 14:50:21 2011 +0000 +++ b/libpurple/protocols/mxit/actions.c Sun Aug 21 15:28:07 2011 +0000 @@ -158,7 +158,7 @@ /* update where am i */ name = purple_request_fields_get_string( fields, "whereami" ); - if ( !name) + if ( !name ) profile->whereami[0] = '\0'; else g_strlcpy( profile->whereami, name, sizeof( profile->whereami ) ); @@ -368,8 +368,8 @@ purple_debug_info( MXIT_PLUGIN_ID, "mxit_change_pin_action\n" ); fields = purple_request_fields_new(); - group = purple_request_field_group_new(NULL); - purple_request_fields_add_group(fields, group); + group = purple_request_field_group_new( NULL ); + purple_request_fields_add_group( fields, group ); /* pin */ field = purple_request_field_string_new( "pin", _( "PIN" ), session->acc->password, FALSE ); @@ -472,10 +472,10 @@ _( "Search for a MXit contact" ), _( "Type search information" ), NULL, FALSE, FALSE, NULL, - _("_Search"), G_CALLBACK( mxit_user_search_cb ), - _("_Cancel"), NULL, + _( "_Search" ), G_CALLBACK( mxit_user_search_cb ), + _( "_Cancel" ), NULL, purple_connection_get_account( gc ), NULL, NULL, - gc); + gc ); }