diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-08-11 11:28:18 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-08-11 11:28:18 -0600 |
commit | c7f649c87f18773b00b955858992783e4d34e168 (patch) | |
tree | 38fa283ba09eb4c03e84d637d7175eeb509eade8 /pico/browse.c | |
parent | 68e60cfaa434ab6fa738949cca151b2d28252025 (diff) | |
download | alpine-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/browse.c')
-rw-r--r-- | pico/browse.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pico/browse.c b/pico/browse.c index 93de8066..46e01fd0 100644 --- a/pico/browse.c +++ b/pico/browse.c @@ -4,8 +4,8 @@ static char rcsid[] = "$Id: browse.c 942 2008-03-04 18:21:33Z hubert@u.washingto /* * ======================================================================== - * Copyright 2013 Eduardo Chappa * Copyright 2006-2008 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. @@ -1595,9 +1595,8 @@ FileBrowse(char *dir, size_t dirlen, char *fn, size_t fnlen, i = 0; while(!i){ - int bsearch = 0; - switch(readpattern(_("File name to find"), FALSE, bsearch)){ + switch(readpattern(_("File name to find"), FALSE)){ case HELPCH: emlwrite(_("\007No help yet!"), NULL); /* remove break and sleep after help text is installed */ @@ -1606,9 +1605,6 @@ FileBrowse(char *dir, size_t dirlen, char *fn, size_t fnlen, case (CTRL|'L'): PaintBrowser(gmp, 0, &crow, &ccol); break; - case (CTRL|'P'): - bsearch = bsearch == 0 ? 1 : 0; - break; case (CTRL|'Y'): /* first first cell */ for(tp = gmp->top; tp->prev; tp = tp->prev) ; |