changeset 150:f2748067a8c2

fixed a typo
author Yoshiki Yazawa <yaz@honeyplnaet.jp>
date Thu, 24 Jul 2008 21:41:03 +0900
parents 0594a81d967d
children 8ba0c0593621
files pidgin-twitter.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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";