# HG changeset patch # User Luke Schierer # Date 1069125280 0 # Node ID ebf1f580d6a927bed2f2c1426e90095475f39926 # Parent 586fb159407280cf9cbfd4bfaddbaed8140ca18f [gaim-migrate @ 8164] " yahoo.c currently checks for the string "Last Updated:" in the profile web page to determine whether the profile is in English. However, I have found that some English-language profiles have "Last Updated " instead of "Last Updated". The attached trivial patch makes yahoo.c additionally check for "Last Updated " as a valid magic string indicating that a profile is in English." --quoth Ambrose C. LI (acli) committer: Tailor Script diff -r 586fb1594072 -r ebf1f580d6a9 src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Tue Nov 18 03:07:30 2003 +0000 +++ b/src/protocols/yahoo/yahoo.c Tue Nov 18 03:14:40 2003 +0000 @@ -2615,6 +2615,9 @@ */ p = strstr(url_text, "Last Updated:"); if (!p) { + p = strstr(url_text, "Last Updated "); + } + if (!p) { g_snprintf(buf, 1024, "%s%s%s%s", _("Sorry, non-English profiles are not supported at this time.

\n"), _("If you wish to view this profile, you will need to visit this link in your web browser
"),