mirror of
https://github.com/jarun/nnn.git
synced 2024-11-18 17:09:14 +00:00
Merge pull request #1106 from KlzXS/persistent_selection
Use selbufpos instead of selbuflen
This commit is contained in:
commit
e94ac0b91b
|
@ -1540,7 +1540,7 @@ static char *findinsel(char *startpos, int len)
|
||||||
startpos = pselbuf;
|
startpos = pselbuf;
|
||||||
|
|
||||||
char *found = startpos;
|
char *found = startpos;
|
||||||
size_t buflen = selbuflen - (startpos - pselbuf);
|
size_t buflen = selbufpos - (startpos - pselbuf);
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue