pidgin: 72ab636d: The id field is unused

markdoliner at pidgin.im markdoliner at pidgin.im
Sun Aug 21 14:05:31 EDT 2011


----------------------------------------------------------------------
Revision: 72ab636d7e3c48e650375f60bfe2ee09de4adedc
Parent:   9273da1370bcc0f512c801c06498f879608e03bc
Author:   markdoliner at pidgin.im
Date:     08/21/11 14:00:53
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/72ab636d7e3c48e650375f60bfe2ee09de4adedc

Changelog: 

The id field is unused

Changes against parent 9273da1370bcc0f512c801c06498f879608e03bc

  patched  libpurple/protocols/yahoo/libymsg.c

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c	7d40600cccbdece77c95fc0dab2cb23410ea5a6e
+++ libpurple/protocols/yahoo/libymsg.c	55dc81a2a5b2111e04ae87e08a40b2d639463a54
@@ -4038,16 +4038,15 @@ void yahoo_tooltip_text(PurpleBuddy *b, 
 		YahooPersonalDetails *ypd = &f->ypd;
 		int i;
 		struct {
-			char *id;
 			char *text;
 			char *value;
 		} yfields[] = {
-			{"hp", N_("Home Phone Number"), ypd->phone.home},
-			{"wp", N_("Work Phone Number"), ypd->phone.work},
-			{"mo", N_("Mobile Phone Number"), ypd->phone.mobile},
-			{NULL, NULL, NULL}
+			{N_("Home Phone Number"), ypd->phone.home},
+			{N_("Work Phone Number"), ypd->phone.work},
+			{N_("Mobile Phone Number"), ypd->phone.mobile},
+			{NULL, NULL}
 		};
-		for (i = 0; yfields[i].id; i++) {
+		for (i = 0; yfields[i].text; i++) {
 			if (!yfields[i].value || !*yfields[i].value)
 				continue;
 			purple_notify_user_info_add_pair(user_info, _(yfields[i].text), yfields[i].value);


More information about the Commits mailing list