libpurple/protocols/mxit/profile.c

changeset 33550
ba619a3449e4
parent 33052
df92c3d93904
child 33603
5bf94c596f83
--- a/libpurple/protocols/mxit/profile.c	Sat Nov 24 19:30:32 2012 +0100
+++ b/libpurple/protocols/mxit/profile.c	Tue Dec 18 10:27:46 2012 +0200
@@ -130,7 +130,7 @@
 	age = now.tm_year - bdate.tm_year;
 	if ( now.tm_mon < bdate.tm_mon )		/* is before month of birth */
 		age--;
-	else if ( (now.tm_mon == bdate.tm_mon ) && ( now.tm_mday < bdate.tm_mday ) )	/* before birthday in current month */
+	else if ( ( now.tm_mon == bdate.tm_mon ) && ( now.tm_mday < bdate.tm_mday ) )	/* before birthday in current month */
 		age--;
 
 	return age;
@@ -236,7 +236,7 @@
 				img_text = g_strdup_printf( "<img src='" PURPLE_STORED_IMAGE_PROTOCOL "%d'>",
 				                            contact->imgid );
 				purple_notify_user_info_add_pair_html( info, _( "Photo" ), img_text );
-				g_free(img_text);
+				g_free( img_text );
 			}
 
 			if ( contact->statusMsg ) {

mercurial