nano

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

commit b6a4b10daf17df3e1871f6c2ac770a56e178635c
parent 8d911991a3ac7de7113da230bbb8ce6a3a609fd3
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sat, 29 May 2004 17:20:01 +0000

document cosmetic reorganization of rcfile.c, and readd an "else" I
accidentally removed while doing it


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1786 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 2++
Msrc/rcfile.c | 1+
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -240,6 +240,8 @@ CVS code - - rcfile.c: - Move "rebinddelete" up in the list of options so that the list is in alphabetical order. (DLR) + - Cosmetic reorganization of the order in which some options are + interpreted. (DLR) - Explicitly check for rcopts[i].name's being "tabsize" to avoid a spurious error under some circumstances about tabsize's being 0 when there's no tabsize entry in the rcfile. (DLR) diff --git a/src/rcfile.c b/src/rcfile.c @@ -626,6 +626,7 @@ void parse_rcfile(FILE *rcstream) } } else if (!strcasecmp(rcopts[i].name, "quotestr")) quotestr = mallocstrcpy(NULL, option); + else #endif #ifndef NANO_SMALL if (!strcasecmp(rcopts[i].name, "backupdir"))