mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-09 00:11:25 +02:00
(13916)
This commit is contained in:
parent
ab105af44a
commit
4b56a40b6c
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2001-04-06 Sven Wischnowsky <wischnow@zsh.org>
|
||||||
|
|
||||||
|
* 13916: Src/params.c: like 13907, but for backward searches
|
||||||
|
|
||||||
2001-04-05 Felix Rosencrantz <f_rosencrantz@yahoo.com>
|
2001-04-05 Felix Rosencrantz <f_rosencrantz@yahoo.com>
|
||||||
|
|
||||||
* workers/13914: Completion/Unix/Command/_java: Added call to
|
* workers/13914: Completion/Unix/Command/_java: Added call to
|
||||||
|
|
|
@ -1118,7 +1118,7 @@ getarg(char **str, int *inv, Value v, int a2, zlong *w)
|
||||||
if (a2) {
|
if (a2) {
|
||||||
if (down) {
|
if (down) {
|
||||||
if (!hasbeg)
|
if (!hasbeg)
|
||||||
beg = len - 1;
|
beg = len;
|
||||||
for (r = beg, t = d + beg; t >= d; r--, t--) {
|
for (r = beg, t = d + beg; t >= d; r--, t--) {
|
||||||
sav = *t;
|
sav = *t;
|
||||||
*t = '\0';
|
*t = '\0';
|
||||||
|
@ -1143,7 +1143,7 @@ getarg(char **str, int *inv, Value v, int a2, zlong *w)
|
||||||
} else {
|
} else {
|
||||||
if (down) {
|
if (down) {
|
||||||
if (!hasbeg)
|
if (!hasbeg)
|
||||||
beg = len - 1;
|
beg = len;
|
||||||
for (r = beg + 1, t = d + beg; t >= d; r--, t--) {
|
for (r = beg + 1, t = d + beg; t >= d; r--, t--) {
|
||||||
if (pattry(pprog, t) &&
|
if (pattry(pprog, t) &&
|
||||||
!--num)
|
!--num)
|
||||||
|
|
Loading…
Reference in a new issue