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
master
David Lawrence Ramsey 2005-07-25 04:46:58 +00:00
parent 8e94234b00
commit 07d5df4aeb
1 changed files with 3 additions and 5 deletions

View File

@ -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 */