]> git.wh0rd.org Git - nano.git/commitdiff
nano.c:version() - Move up check for --disable-nls as it's independent of --enable...
authorChris Allegretta <chrisa@asty.org>
Fri, 17 Jan 2003 03:39:41 +0000 (03:39 +0000)
committerChris Allegretta <chrisa@asty.org>
Fri, 17 Jan 2003 03:39:41 +0000 (03:39 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1370 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
nano.c

index 9fe58d2a4608344fc69e032c0e0636d473adbcdb..4b51a58e1d33cefac49d87ed991226ad7eb01c0f 100644 (file)
--- 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 7996f740043ee829c53fbabcadb1072827bca6de..838f64331414c542c136705f606ab2ca3974599d 100644 (file)
--- 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