cgmnlm

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/cgmnlm.git
Log | Files | Refs | README | LICENSE

commit bb696e6e2823d38bf6ad2f5106f3808555c48b18
parent f4a4be2513580809c01212a08a5284f9cf16ad5f
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 20 Sep 2020 22:11:13 -0400

Correct oversight which broke link following

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

diff --git a/src/gmnlm.c b/src/gmnlm.c @@ -164,7 +164,7 @@ do_prompts(const char *prompt, struct browser *browser) struct link *link = browser->links; char *endptr; int linksel = (int)strtol(in, &endptr, 10); - if (endptr[0] == '\n' && linksel >= 0) { + if (!endptr[0] && linksel >= 0) { while (linksel > 0 && link) { link = link->next; --linksel;