nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 07d5df4aebf6b744c94116226545f9aa42958bee
parent 8e94234b00c8f3f81200e13b7ab9b5488f3cc11e
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Mon, 25 Jul 2005 04:46:58 +0000

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

Diffstat:
Msrc/text.c | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git 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 */