From 2a15c584f171657e3dac85f05c25d1e7441767d8 Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Fri, 25 Oct 2002 01:51:13 +0000
Subject: [PATCH] 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
---
 ChangeLog | 3 +++
 nano.c    | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 0f2adb2c..85b3a52f 100644
--- 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 cfe88188..6fbe7e7e 100644
--- 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
-- 
GitLab