nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b5d1a1b0368a3b3e12766bd6150ef6182e283555
parent c0dceb18c687b8bd9cd9b429a66ca4da0ad8700e
Author: KlzXS <klzx+github@klzx.cf>
Date:   Sun, 11 Jul 2021 20:16:28 +0200

Use selbufpos instead of selbuflen

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -1540,7 +1540,7 @@ static char *findinsel(char *startpos, int len) startpos = pselbuf; char *found = startpos; - size_t buflen = selbuflen - (startpos - pselbuf); + size_t buflen = selbufpos - (startpos - pselbuf); while (1) { /*