diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-27 14:15:24 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-28 13:42:44 +0200 |
commit | 7b0d017b5d6eabd3d6ef35d15037e979cac8fe1a (patch) | |
tree | f3677284d26b2dd67b5b026f6ce0bf2133303de2 | |
parent | 5637e973bf5f3975d3a942e46dc37245fc22361a (diff) | |
download | calcurse-7b0d017b5d6eabd3d6ef35d15037e979cac8fe1a.tar.gz calcurse-7b0d017b5d6eabd3d6ef35d15037e979cac8fe1a.zip |
Remove superfluous buffer variable from version_arg()
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r-- | src/args.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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); } |