nano

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

commit ea9d49b9d8e48c2da8224b3301dad8e8868479d8
parent 42c7bfcf8af5dc3d11703cc4286064b368ff04b6
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 11 Apr 2022 10:31:39 +0200

tweaks: remove some stray spaces before a comma

Diffstat:
Msrc/nano.c | 2+-
Msrc/prompt.c | 2+-
Msrc/winio.c | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/nano.c b/src/nano.c @@ -2566,7 +2566,7 @@ int main(int argc, char **argv) edit_scroll(FORWARD); wnoutrefresh(midwin); } - wredrawln(footwin, 0 ,1); + wredrawln(footwin, 0, 1); wnoutrefresh(footwin); place_the_cursor(); } else if (ISSET(ZERO) && lastmessage > VACUUM) diff --git a/src/prompt.c b/src/prompt.c @@ -229,7 +229,7 @@ void inject_into_answer(char *burst, size_t count) answer = nrealloc(answer, strlen(answer) + count + 1); memmove(answer + typing_x + count, answer + typing_x, strlen(answer) - typing_x + 1); - strncpy(answer + typing_x, burst , count); + strncpy(answer + typing_x, burst, count); typing_x += count; } diff --git a/src/winio.c b/src/winio.c @@ -219,7 +219,7 @@ void read_keys_from(WINDOW *frame) if (input == ERR) { if (spotlighted || ISSET(ZERO) || LINES == 1) { if (ISSET(ZERO) && lastmessage > VACUUM) - wredrawln(midwin, editwinrows - 1 , 1); + wredrawln(midwin, editwinrows - 1, 1); lastmessage = VACUUM; spotlighted = FALSE; update_line(openfile->current, openfile->current_x);