summaryrefslogtreecommitdiff
path: root/pico/osdep
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2013-08-11 11:28:18 -0600
committerEduardo Chappa <chappa@washington.edu>2013-08-11 11:28:18 -0600
commitc7f649c87f18773b00b955858992783e4d34e168 (patch)
tree38fa283ba09eb4c03e84d637d7175eeb509eade8 /pico/osdep
parent68e60cfaa434ab6fa738949cca151b2d28252025 (diff)
downloadalpine-c7f649c87f18773b00b955858992783e4d34e168.tar.xz
* reverse backward search momemtarily, it will be released as patch,
included in all.patch, and later released when it has been thoroughly tested.
Diffstat (limited to 'pico/osdep')
-rw-r--r--pico/osdep/spell.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pico/osdep/spell.c b/pico/osdep/spell.c
index 2b22beb2..87b345eb 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 2013 Eduardo Chappa
* Copyright 2006-2007 University of Washington
+ * Copyright 2013 Eduardo Chappa
*
* 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, 0); /* correct word */
+ chword(wb, cb); /* 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, 0, NULL, 0, 1) == TRUE){
+ while(forscan(&i, w, NULL, 0, 1) == TRUE){
if(i)
break; /* wrap NOT allowed! */