]> git.wh0rd.org Git - nano.git/commitdiff
Add DLR's --disable-nls to version info
authorChris Allegretta <chrisa@asty.org>
Fri, 25 Oct 2002 01:51:13 +0000 (01:51 +0000)
committerChris Allegretta <chrisa@asty.org>
Fri, 25 Oct 2002 01:51:13 +0000 (01:51 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1307 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
nano.c

index 0f2adb2ce7862f5786adc860bc5a7fda8e2efcda..85b3a52fd074921afeea34d21519892f288a5296 100644 (file)
--- 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
index cfe88188d57bf252e748bb6e341b7bc5fb31cb55..6fbe7e7ee158702180024ce77fa18b021fe0fc92 100644 (file)
--- 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