# HG changeset patch # User Yoshiki Yazawa # Date 1216903263 -32400 # Node ID f2748067a8c20fb336259bb7af7b931c7646c017 # Parent 0594a81d967d54991dc1a3e1c58e727da03a8cd9 fixed a typo diff -r 0594a81d967d -r f2748067a8c2 pidgin-twitter.c --- a/pidgin-twitter.c Thu Jul 24 21:07:11 2008 +0900 +++ b/pidgin-twitter.c Thu Jul 24 21:41:03 2008 +0900 @@ -1734,7 +1734,7 @@ gchar *startp = slash + 1; gchar *ext = NULL; do { - ext = strrchr(startp, '.'); + ext = strchr(startp, '.'); if(ext) { if(!strcasecmp(ext, ".jpg") || !strcasecmp(ext, ".jpeg")) { data->img_type = "jpg";