nano

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

commit 56d98052d15966a52ea33abcbf8c986e835fed90
parent 265d3245af26672f1839bdfc87e1c1198546ee78
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue,  8 Oct 2019 11:51:47 +0200

tweaks: adjust the indentation after the previous change

Diffstat:
Msrc/rcfile.c | 30+++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/rcfile.c b/src/rcfile.c @@ -1061,22 +1061,22 @@ void parse_rcfile(FILE *rcstream, bool just_syntax, bool intros_only) opensyntax = TRUE; drop_open = TRUE; } else { - newitem = nmalloc(sizeof(augmentstruct));; - - newitem->filename = strdup(nanorc); - newitem->lineno = lineno; - newitem->data = argument; - newitem->next = NULL; - - if (sint->augmentations != NULL) { - extra = sint->augmentations; - while (extra->next != NULL) - extra = extra->next; - extra->next = newitem; - } else - sint->augmentations = newitem; + newitem = nmalloc(sizeof(augmentstruct));; - continue; + newitem->filename = strdup(nanorc); + newitem->lineno = lineno; + newitem->data = argument; + newitem->next = NULL; + + if (sint->augmentations != NULL) { + extra = sint->augmentations; + while (extra->next != NULL) + extra = extra->next; + extra->next = newitem; + } else + sint->augmentations = newitem; + + continue; } }