Remove superfluous buffer variable from help_arg()
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
parent
5b75566ce9
commit
5637e973bf
@ -88,7 +88,6 @@ version_arg ()
|
||||
static void
|
||||
help_arg ()
|
||||
{
|
||||
char htitle[BUFSIZ];
|
||||
char *htext =
|
||||
_("\nMiscellaneous:\n"
|
||||
" -h, --help\n"
|
||||
@ -146,9 +145,7 @@ help_arg ()
|
||||
"or read the manpage.\n"
|
||||
"Mail bug reports and suggestions to <misc@calcurse.org>.\n");
|
||||
|
||||
(void)snprintf (htitle, BUFSIZ, _("Calcurse %s - text-based organizer\n"),
|
||||
VERSION);
|
||||
fputs (htitle, stdout);
|
||||
fprintf (stdout, _("Calcurse %s - text-based organizer\n"), VERSION);
|
||||
usage ();
|
||||
fputs (htext, stdout);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user