Remove superfluous buffer variable from version_arg()
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
parent
5637e973bf
commit
7b0d017b5d
@ -71,14 +71,11 @@ usage_try ()
|
|||||||
static void
|
static void
|
||||||
version_arg ()
|
version_arg ()
|
||||||
{
|
{
|
||||||
char vtitle[BUFSIZ];
|
|
||||||
char *vtext =
|
char *vtext =
|
||||||
_("\nCopyright (c) 2004-2011 calcurse Development Team.\n"
|
_("\nCopyright (c) 2004-2011 calcurse Development Team.\n"
|
||||||
"This is free software; see the source for copying conditions.\n");
|
"This is free software; see the source for copying conditions.\n");
|
||||||
|
|
||||||
(void)snprintf (vtitle, BUFSIZ, _("Calcurse %s - text-based organizer\n"),
|
fprintf (stdout, _("Calcurse %s - text-based organizer\n"), VERSION);
|
||||||
VERSION);
|
|
||||||
fputs (vtitle, stdout);
|
|
||||||
fputs (vtext, stdout);
|
fputs (vtext, stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user