nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] [PATCH] drop unused nano_exitbrowser_msg message and only d


From: Mike Frysinger
Subject: [Nano-devel] [PATCH] drop unused nano_exitbrowser_msg message and only declare nano_justify_msg when justify support is enabled
Date: Wed, 19 Mar 2008 02:19:10 -0400

Signed-off-by: Mike Frysinger <address@hidden>
---
 src/global.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/global.c b/src/global.c
index cb26c26..eff35e4 100644
--- a/src/global.c
+++ b/src/global.c
@@ -501,7 +501,9 @@ void shortcut_init(bool unjustify)
        ;
     const char *nano_writeout_msg =
        N_("Write the current file to disk");
+#ifndef DISABLE_JUSTIFY
     const char *nano_justify_msg = N_("Justify the current paragraph");
+#endif
     const char *nano_insert_msg =
        N_("Insert another file into the current one");
     const char *nano_whereis_msg =
@@ -620,7 +622,6 @@ void shortcut_init(bool unjustify)
        N_("Toggle the use of a new buffer");
 #endif
 #ifndef DISABLE_BROWSER
-    const char *nano_exitbrowser_msg = N_("Exit from the file browser");
     const char *nano_firstfile_msg =
        N_("Go to the first file in the list");
     const char *nano_lastfile_msg =
-- 
1.5.4.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]