]> git.wh0rd.org Git - nano.git/commitdiff
simplify do_wordlinechar_count()'s final message a bit more
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 25 Jul 2005 04:46:58 +0000 (04:46 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 25 Jul 2005 04:46:58 +0000 (04:46 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2926 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/text.c

index f5cf86846507ca5e131c1a4c0a3b403be46b60d1..1781dfb208de67e2a41dd712438760787879980d 100644 (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 */