From 07d5df4aebf6b744c94116226545f9aa42958bee Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 25 Jul 2005 04:46:58 +0000 Subject: [PATCH] simplify do_wordlinechar_count()'s final message a bit more git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2926 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/text.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/text.c b/src/text.c index f5cf8684..1781dfb2 100644 --- a/src/text.c +++ b/src/text.c @@ -2115,10 +2115,8 @@ void do_wordlinechar_count(void) /* Display the total word, line, and character counts on the * statusbar. */ - statusbar("%s%lu %s, %lu %s, %lu %s", old_mark_set ? - _("In selection: ") : "", (unsigned long)words, P_("word", - "words", (unsigned long)words), (unsigned long)lines, P_("line", - "lines", (unsigned long)lines), (unsigned long)chars, P_("char", - "chars", (unsigned long)chars)); + statusbar("%sWords: %lu Lines: %lu Chars: %lu", old_mark_set ? + _("(In Selection) ") : "", (unsigned long)words, + (unsigned long)lines, (unsigned long)chars); } #endif /* !NANO_SMALL */