libgaim/protocols/yahoo/yahoo_profile.c

changeset 14751
7be9261cb83b
parent 14416
c95ffd983a39
child 15205
f642029b2f97
equal deleted inserted replaced
14750:1dad59ae254d 14751:7be9261cb83b
1165 _("Cool Link 3"), 1, NULL, NULL); 1165 _("Cool Link 3"), 1, NULL, NULL);
1166 } 1166 }
1167 } 1167 }
1168 } 1168 }
1169 1169
1170 /* see if Member Since is there, and if so, extract it. */ 1170 if (last_updated_utf8_string != NULL) {
1171 found |= gaim_markup_extract_info_field(stripped, stripped_len, s, 1171 /* see if Member Since is there, and if so, extract it. */
1172 "Member Since:", 1, last_updated_utf8_string, 1172 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
1173 '\n', NULL, _("Member Since"), 0, NULL, yahoo_info_date_reformat); 1173 "Member Since:", 1, last_updated_utf8_string,
1174 1174 '\n', NULL, _("Member Since"), 0, NULL, yahoo_info_date_reformat);
1175 /* extract the Last Updated date and put it in */ 1175
1176 found |= gaim_markup_extract_info_field(stripped, stripped_len, s, 1176 /* extract the Last Updated date and put it in */
1177 last_updated_utf8_string, 1, " ", '\n', NULL, 1177 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
1178 _("Last Update"), 0, NULL, yahoo_info_date_reformat); 1178 last_updated_utf8_string, 1, " ", '\n', NULL,
1179 _("Last Update"), 0, NULL, yahoo_info_date_reformat);
1180 }
1179 } /* if (profile_state == PROFILE_STATE_DEFAULT) */ 1181 } /* if (profile_state == PROFILE_STATE_DEFAULT) */
1180 1182
1181 if(!found) 1183 if(!found)
1182 { 1184 {
1183 g_string_append_printf(s, "<br><b>"); 1185 g_string_append_printf(s, "<br><b>");

mercurial