commit 5ec68628ce03cd9427e4c7e5399618a3fb9fbf4e
parent 5ea694ebd16251821008d7cea6825822627d396f
Author: Chris Allegretta <chrisa@asty.org>
Date: Wed, 5 Feb 2003 02:39:34 +0000
- 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
Diffstat:
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git 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
@@ -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();