From 9a77c997e2c4525ae59feced4f557f8d59123563 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 26 Nov 2018 09:13:22 +0100 Subject: [PATCH] tweaks: remove two tag definitions that are no longer needed --- src/global.c | 10 +++------- src/proto.h | 2 -- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/global.c b/src/global.c index 2236ac81..40d5f341 100644 --- a/src/global.c +++ b/src/global.c @@ -518,14 +518,10 @@ void print_sclist(void) } #endif -/* These four tags are used elsewhere too, so they are global. */ -/* TRANSLATORS: Try to keep the next four strings at most 10 characters. */ +/* These two tags are used elsewhere too, so they are global. */ +/* TRANSLATORS: Try to keep the next two strings at most 10 characters. */ const char *exit_tag = N_("Exit"); const char *close_tag = N_("Close"); -const char *uncut_tag = N_("Uncut Text"); -#ifdef ENABLE_JUSTIFY -const char *unjust_tag = N_("Unjustify"); -#endif /* Initialize the list of functions and the list of shortcuts. */ void shortcut_init(void) @@ -765,7 +761,7 @@ void shortcut_init(void) N_("Cut Text"), WITHORSANS(cut_gist), TOGETHER, NOVIEW); add_to_funcs(do_uncut_text, MMAIN, - uncut_tag, WITHORSANS(uncut_gist), BLANKAFTER, NOVIEW); + N_("Uncut Text"), WITHORSANS(uncut_gist), BLANKAFTER, NOVIEW); if (!ISSET(RESTRICTED)) { #ifdef ENABLE_JUSTIFY diff --git a/src/proto.h b/src/proto.h index 392b3342..789da84c 100644 --- a/src/proto.h +++ b/src/proto.h @@ -103,9 +103,7 @@ extern int whitespace_len[2]; extern const char *exit_tag; extern const char *close_tag; -extern const char *uncut_tag; #ifdef ENABLE_JUSTIFY -extern const char *unjust_tag; extern char *punct; extern char *brackets; extern char *quotestr;