From e6600379c9c0fe710348d385f452b52ce6a4b17c Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Fri, 17 Jan 2003 03:39:41 +0000
Subject: [PATCH] nano.c:version() - Move up check for --disable-nls as it's
 independent of --enable-tiny now (DLR)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1370 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog | 2 ++
 nano.c    | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9fe58d2a..4b51a58e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -156,6 +156,8 @@ Changes
 	  Pico's behavior. (DLR)
   version()
 	- Remove obsolete reference to --enable-undo. (David Benbennick)
+	- Move up check for --disable-nls as it's independent of 
+	  --enable-tiny now (DLR).
   do_int_speller()
 	- Make internal spell program use sort -f and uniq to create a less
 	  redundant word list.  [The only reason this is going in during 
diff --git a/nano.c b/nano.c
index 7996f740..838f6433 100644
--- a/nano.c
+++ b/nano.c
@@ -694,6 +694,9 @@ void version(void)
 	   (" Email: nano@nano-editor.org	Web: http://www.nano-editor.org/"));
     printf(_("\n Compiled options:"));
 
+#ifndef ENABLE_NLS
+    printf(" --disable-nls");
+#endif
 #ifdef DEBUG
     printf(" --enable-debug");
 #endif
@@ -715,9 +718,6 @@ void version(void)
 #if defined(DISABLE_MOUSE) || !defined(NCURSES_MOUSE_VERSION)
     printf(" --disable-mouse");
 #endif
-#ifndef ENABLE_NLS
-    printf(" --disable-nls");
-#endif
 #ifdef DISABLE_OPERATINGDIR
     printf(" --disable-operatingdir");
 #endif
-- 
GitLab