Mercurial > vim
comparison src/spell.c @ 974:ed44c1c436d3 v7.0.100
updated for version 7.0-100
author | vimboss |
---|---|
date | Mon, 11 Sep 2006 19:38:08 +0000 |
parents | b2dcb8457067 |
children | f88008797313 |
comparison
equal
deleted
inserted
replaced
973:d607b48414b7 | 974:ed44c1c436d3 |
---|---|
1481 } | 1481 } |
1482 | 1482 |
1483 else if ((mode == FIND_COMPOUND || mode == FIND_KEEPCOMPOUND | 1483 else if ((mode == FIND_COMPOUND || mode == FIND_KEEPCOMPOUND |
1484 || !word_ends)) | 1484 || !word_ends)) |
1485 { | 1485 { |
1486 /* If there is no flag or the word is shorter than | 1486 /* If there is no compound flag or the word is shorter than |
1487 * COMPOUNDMIN reject it quickly. | 1487 * COMPOUNDMIN reject it quickly. |
1488 * Makes you wonder why someone puts a compound flag on a word | 1488 * Makes you wonder why someone puts a compound flag on a word |
1489 * that's too short... Myspell compatibility requires this | 1489 * that's too short... Myspell compatibility requires this |
1490 * anyway. */ | 1490 * anyway. */ |
1491 if (((unsigned)flags >> 24) == 0 | 1491 if (((unsigned)flags >> 24) == 0 |
9334 break; | 9334 break; |
9335 if (fseek(fd, fpos, SEEK_SET) == 0) | 9335 if (fseek(fd, fpos, SEEK_SET) == 0) |
9336 { | 9336 { |
9337 fputc('#', fd); | 9337 fputc('#', fd); |
9338 if (undo) | 9338 if (undo) |
9339 { | |
9340 home_replace(NULL, fname, NameBuff, MAXPATHL, TRUE); | |
9339 smsg((char_u *)_("Word removed from %s"), NameBuff); | 9341 smsg((char_u *)_("Word removed from %s"), NameBuff); |
9342 } | |
9340 } | 9343 } |
9341 fseek(fd, fpos_next, SEEK_SET); | 9344 fseek(fd, fpos_next, SEEK_SET); |
9342 } | 9345 } |
9343 } | 9346 } |
9344 fclose(fd); | 9347 fclose(fd); |