Mercurial > pidgin-twitter
comparison pidgin-twitter.c @ 244:c6c2bb8039ce
fixed a breakage of playing sound for the recipients.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 15 Oct 2008 18:35:25 +0900 |
parents | 80be57d8b6fa |
children | d4bc93a481c2 |
comparison
equal
deleted
inserted
replaced
243:80be57d8b6fa | 244:c6c2bb8039ce |
---|---|
1022 | 1022 |
1023 g_regex_match(regp[which], *str, 0, &match_info); | 1023 g_regex_match(regp[which], *str, 0, &match_info); |
1024 while(g_match_info_matches(match_info)) { | 1024 while(g_match_info_matches(match_info)) { |
1025 gchar *user = NULL; | 1025 gchar *user = NULL; |
1026 if(which == RECIPIENT) | 1026 if(which == RECIPIENT) |
1027 user = g_match_info_fetch(match_info, 1); | 1027 user = g_match_info_fetch(match_info, 2); |
1028 else if(which == SENDER) | 1028 else if(which == SENDER) |
1029 user = g_match_info_fetch(match_info, 2); | 1029 user = g_match_info_fetch(match_info, 2); |
1030 twitter_debug("user = %s\n", user); | 1030 twitter_debug("user = %s\n", user); |
1031 | 1031 |
1032 for(candidate = candidates; *candidate; candidate++) { | 1032 for(candidate = candidates; *candidate; candidate++) { |