From b6a4b10daf17df3e1871f6c2ac770a56e178635c Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 29 May 2004 17:20:01 +0000 Subject: [PATCH] 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 --- ChangeLog | 2 ++ src/rcfile.c | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7e304ce1..bfbb9020 100644 --- 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 index a40b6fc1..8476eeac 100644 --- 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"))