commit 2a15c584f171657e3dac85f05c25d1e7441767d8
parent d45c5992d344fd6a7a00d3700f0b363cb145910e
Author: Chris Allegretta <chrisa@asty.org>
Date: Fri, 25 Oct 2002 01:51:13 +0000
Add DLR's --disable-nls to version info
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1307 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -24,6 +24,9 @@ CVS code -
and not just assigned to it, to avoid memory corruption
problems. (DLR)
- nano.c:
+ version()
+ - If ENABLE_NLS isn't defined, display "--disable-nls"
+ (suggested by Ken Tyler). (DLR)
justify_format()
- Make sure the double space maintained after sentence-ending
punctuation is done when that punctuation is immediately
diff --git a/nano.c b/nano.c
@@ -709,6 +709,9 @@ void version(void)
#ifdef DISABLE_MOUSE
printf(" --disable-mouse");
#endif
+#ifndef ENABLE_NLS
+ printf(" --disable-nls");
+#endif
#ifdef DISABLE_OPERATINGDIR
printf(" --disable-operatingdir");
#endif