From: David Lawrence Ramsey Date: Sat, 29 May 2004 17:20:01 +0000 (+0000) Subject: document cosmetic reorganization of rcfile.c, and readd an "else" I X-Git-Tag: v1.3.3~33 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b6a4b10daf17df3e1871f6c2ac770a56e178635c;p=nano.git 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 --- 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"))