nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 4f9abb52a46a30cee505ab8521653bf7172fc4d3
parent 7bab8780ad9c8ebdf01b9cd9996d38431c1203c4
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 28 Aug 2022 12:57:45 +0200

build: fix compilation when configured with --enable-tiny

Problem existed since commit d1e28417 from four days ago.

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

diff --git a/src/utils.c b/src/utils.c @@ -484,6 +484,7 @@ void get_range(linestruct **top, linestruct **bot) also_the_last = TRUE; } } +#endif /* !NANO_TINY */ /* Return a pointer to the line that has the given line number. */ linestruct *line_from_number(ssize_t number) @@ -499,7 +500,6 @@ linestruct *line_from_number(ssize_t number) return line; } -#endif /* !NANO_TINY */ /* Count the number of characters from begin to end, and return it. */ size_t number_of_characters_in(const linestruct *begin, const linestruct *end)