commit 81377d96564a34863a50974efea4f29fd130d77a
parent 26fd9b29a3b025b63ee690d201fdeb10e0d0f3b1
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Fri, 4 Apr 2014 15:42:39 +0000
Fixing warnings with --enable-help and tiny.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4725 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -12,6 +12,7 @@
* configure.ac: Add submissive colour disabling to --enable-tiny.
* configure.ac: Allow other enablers to override --enable-tiny too.
* src/{proto.h,search.c}: Fix compilation with --enable-browser.
+ * src/global.c (shortcut_init): Fix warnings with --enable-help.
2014-04-03 Benno Schulenberg <bensberg@justemail.net>
* configure.ac: Remove unused '*_support' variables.
diff --git a/src/global.c b/src/global.c
@@ -714,10 +714,8 @@ void shortcut_init(bool unjustify)
#ifndef NANO_TINY
const char *nano_dos_msg = N_("Toggle the use of DOS format");
const char *nano_mac_msg = N_("Toggle the use of Mac format");
-#endif
const char *nano_append_msg = N_("Toggle appending");
const char *nano_prepend_msg = N_("Toggle prepending");
-#ifndef NANO_TINY
const char *nano_backup_msg =
N_("Toggle backing up of the original file");
const char *nano_execute_msg = N_("Execute external command");