comparison src/gtkconv.c @ 8079:8766b6a6641b

[gaim-migrate @ 8778] BOOYAH BIATCH I mean. This fixes a weird bug javabsp noticed with tab completion where, if you have more than 2 dudes in a chat with more than 2 of the first characters of their screenname the same then the the tab complete would leave off the last character. Really I think we just need a gaim_utf8_strncasecmp. Note the "n" in there committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 12 Jan 2004 00:28:27 +0000
parents 504d98d14c25
children 56b74730715f
comparison
equal deleted inserted replaced
8078:ab0750ac5154 8079:8766b6a6641b
2871 partial[most_matched] = '\0'; 2871 partial[most_matched] = '\0';
2872 if(most_matched < strlen(tmp)) 2872 if(most_matched < strlen(tmp))
2873 tmp[most_matched] = '\0'; 2873 tmp[most_matched] = '\0';
2874 most_matched--; 2874 most_matched--;
2875 } 2875 }
2876 most_matched++;
2876 2877
2877 g_free(tmp); 2878 g_free(tmp);
2878 } 2879 }
2879 2880
2880 matches = g_list_append(matches, nick); 2881 matches = g_list_append(matches, nick);