comparison libgaim/protocols/qq/buddy_list.c @ 15072:902f3621aa13

[gaim-migrate @ 17855] Use the QQ faces as buddy icons instead of status icons. Also, a few minor cleanups and a bug fix for faces > 33. committer: Tailor Script <tailor@pidgin.im>
author Mark Huetsch <markhuetsch>
date Thu, 30 Nov 2006 10:30:13 +0000
parents c039c920e11c
children e952a5fc97b3
comparison
equal deleted inserted replaced
15071:97ae8709d6dc 15072:902f3621aa13
269 q_bud = g_new0(qq_buddy, 1); 269 q_bud = g_new0(qq_buddy, 1);
270 bytes = 0; 270 bytes = 0;
271 /* 000-003: uid */ 271 /* 000-003: uid */
272 bytes += read_packet_dw(data, &cursor, len, &q_bud->uid); 272 bytes += read_packet_dw(data, &cursor, len, &q_bud->uid);
273 /* 004-005: icon index (1-255) */ 273 /* 004-005: icon index (1-255) */
274 bytes += read_packet_w(data, &cursor, len, &q_bud->icon); 274 bytes += read_packet_w(data, &cursor, len, &q_bud->face);
275 /* 006-006: age */ 275 /* 006-006: age */
276 bytes += read_packet_b(data, &cursor, len, &q_bud->age); 276 bytes += read_packet_b(data, &cursor, len, &q_bud->age);
277 /* 007-007: gender */ 277 /* 007-007: gender */
278 bytes += read_packet_b(data, &cursor, len, &q_bud->gender); 278 bytes += read_packet_b(data, &cursor, len, &q_bud->gender);
279 pascal_len = convert_as_pascal_string(cursor, &q_bud->nickname, QQ_CHARSET_DEFAULT); 279 pascal_len = convert_as_pascal_string(cursor, &q_bud->nickname, QQ_CHARSET_DEFAULT);