summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-07-27 14:15:24 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-07-28 13:42:44 +0200
commit7b0d017b5d6eabd3d6ef35d15037e979cac8fe1a (patch)
treef3677284d26b2dd67b5b026f6ce0bf2133303de2 /src
parent5637e973bf5f3975d3a942e46dc37245fc22361a (diff)
downloadcalcurse-7b0d017b5d6eabd3d6ef35d15037e979cac8fe1a.tar.gz
calcurse-7b0d017b5d6eabd3d6ef35d15037e979cac8fe1a.zip
Remove superfluous buffer variable from version_arg()
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r--src/args.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/args.c b/src/args.c
index 640b68b..735fbd9 100644
--- a/src/args.c
+++ b/src/args.c
@@ -71,14 +71,11 @@ usage_try ()
static void
version_arg ()
{
- char vtitle[BUFSIZ];
char *vtext =
_("\nCopyright (c) 2004-2011 calcurse Development Team.\n"
"This is free software; see the source for copying conditions.\n");
- (void)snprintf (vtitle, BUFSIZ, _("Calcurse %s - text-based organizer\n"),
- VERSION);
- fputs (vtitle, stdout);
+ fprintf (stdout, _("Calcurse %s - text-based organizer\n"), VERSION);
fputs (vtext, stdout);
}