From: Chris Allegretta Date: Wed, 5 Feb 2003 02:39:34 +0000 (+0000) Subject: - Fix nano not compiling with ENABLE_RCFILE BLE_TABCOMP (David Benbennick) X-Git-Tag: v1.1.99pre3~43 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5ec68628ce03cd9427e4c7e5399618a3fb9fbf4e;p=nano.git - Fix nano not compiling with ENABLE_RCFILE BLE_TABCOMP (David Benbennick) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1425 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 880960bd..a12d815d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ CVS code - General: - Translation updates (see po/ChangeLog for details). +- nano.c: + main() + - Fix nano not compiling with ENABLE_RCFILE and DISABLE_TABCOMP + (David Benbennick). - nano.1, nano.1.html: - Add initialization file comments, change some options from bracketed to underlined to emphasize that they are not diff --git a/nano.c b/nano.c index b87ec57e..4ac10f34 100644 --- a/nano.c +++ b/nano.c @@ -3287,9 +3287,15 @@ int main(int argc, char *argv[]) int tabsize_cpy = tabsize; long flags_cpy = flags; +#ifndef DISABLE_OPERATINGDIR operating_dir = NULL; +#endif +#ifndef DISABLE_JUSTIFY quotestr = NULL; +#endif +#ifndef DISABLE_SPELLER alt_speller = NULL; +#endif do_rcfile();