nano

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

commit dcda98fb73de99c2112ad368feb60a01724b1bc1
parent 336fa400551de8ffa59cdac89d9abae49b7bb7c6
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sat, 17 Mar 2018 15:52:27 +0100

tweaks: remove an inconsistent space from two pointer declarations

Reported-by: Brand Huntsman <alpha@qzx.com>

Diffstat:
Msrc/browser.c | 2+-
Msrc/text.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/browser.c b/src/browser.c @@ -361,7 +361,7 @@ char *do_browse_from(const char *inpath) path = free_and_assign(path, strip_last_component(path)); if (stat(path, &st) == -1 || !S_ISDIR(st.st_mode)) { - char * currentdir = charalloc(PATH_MAX + 1); + char *currentdir = charalloc(PATH_MAX + 1); free(path); path = getcwd(currentdir, PATH_MAX + 1); diff --git a/src/text.c b/src/text.c @@ -1506,7 +1506,7 @@ bool do_wrap(filestruct *line) /* The length of the remainder. */ size_t old_x = openfile->current_x; - filestruct * old_line = openfile->current; + filestruct *old_line = openfile->current; /* There are three steps. First, we decide where to wrap. Then, we * create the new wrap line. Finally, we clean up. */