diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-08-04 21:50:43 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-08-04 21:50:43 -0600 |
commit | 82ec113957d8297ed08c51c20cbc4b0a6f623d4e (patch) | |
tree | bc58ae92ca1627554947f894206af9a47e8cee60 /pico/osdep/spell.c | |
parent | 33d5c0604e830bb65c2f5ccd69170b1c1453802b (diff) | |
download | alpine-82ec113957d8297ed08c51c20cbc4b0a6f623d4e.tar.xz |
* New version 2.10.99999
* Pico: search backwards.
* do not allow List- headers to be set up by users in accordance with
RFC 2369.
* minor fixes for new justification support (add comparison of a line
with the previous *and* the next).
Diffstat (limited to 'pico/osdep/spell.c')
-rw-r--r-- | pico/osdep/spell.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pico/osdep/spell.c b/pico/osdep/spell.c index 87b345eb..2b22beb2 100644 --- a/pico/osdep/spell.c +++ b/pico/osdep/spell.c @@ -4,8 +4,8 @@ static char rcsid[] = "$Id: spell.c 854 2007-12-07 17:44:43Z hubert@u.washington /* * ======================================================================== - * Copyright 2006-2007 University of Washington * Copyright 2013 Eduardo Chappa + * Copyright 2006-2007 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -207,7 +207,7 @@ spell(int f, int n) switch(status){ case TRUE: - chword(wb, cb); /* correct word */ + chword(wb, cb, 0); /* correct word */ case FALSE: update(); /* place cursor */ break; @@ -285,7 +285,7 @@ movetoword(UCS *w) olddotp = curwp->w_dotp; curwp->w_bufp->b_mode |= MDEXACT; /* case sensitive */ - while(forscan(&i, w, NULL, 0, 1) == TRUE){ + while(forscan(&i, w, 0, NULL, 0, 1) == TRUE){ if(i) break; /* wrap NOT allowed! */ |