comparison plugins/spellchk.c @ 113:52bfcdc72dcc

[gaim-migrate @ 123] Fixed word" bug. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 14 Apr 2000 06:22:29 +0000
parents a57fd3390ee4
children f7a5f376f54e
comparison
equal deleted inserted replaced
112:a57fd3390ee4 113:52bfcdc72dcc
210 } 210 }
211 return pos - 1; 211 return pos - 1;
212 } 212 }
213 213
214 char *have_word(char *m, int pos) { 214 char *have_word(char *m, int pos) {
215 char *tmp = strpbrk(&m[pos], "' \t\f\r\n.?!-,"); 215 char *tmp = strpbrk(&m[pos], "' \t\f\r\n\".?!-,");
216 int len = (int)(tmp - &m[pos]); 216 int len = (int)(tmp - &m[pos]);
217 217
218 if (tmp == NULL) { 218 if (tmp == NULL) {
219 tmp = strdup(&m[pos]); 219 tmp = strdup(&m[pos]);
220 return tmp; 220 return tmp;