Mercurial > pidgin.yaz
comparison plugins/spellchk.c @ 1740:72a30a73f689
[gaim-migrate @ 1750]
woo
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 21 Apr 2001 23:17:30 +0000 |
parents | efcacae6acdb |
children | fd60aa357882 |
comparison
equal
deleted
inserted
replaced
1739:0ddc5418a0b4 | 1740:72a30a73f689 |
---|---|
212 } | 212 } |
213 return pos - 1; | 213 return pos - 1; |
214 } | 214 } |
215 | 215 |
216 static char *have_word(char *m, int pos) { | 216 static char *have_word(char *m, int pos) { |
217 char *tmp = strpbrk(&m[pos], "' \t\f\r\n\".?!-,"); | 217 char *tmp = strpbrk(&m[pos], "' \t\f\r\n\"><.?!-,"); |
218 int len = (int)(tmp - &m[pos]); | 218 int len = (int)(tmp - &m[pos]); |
219 | 219 |
220 if (tmp == NULL) { | 220 if (tmp == NULL) { |
221 tmp = strdup(&m[pos]); | 221 tmp = strdup(&m[pos]); |
222 return tmp; | 222 return tmp; |