From d68295bdb1571589698ecd0f887f4ba6b72e4d30 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Thu, 6 Feb 2014 18:35:05 +0100 Subject: [PATCH] wget: move --version copyright year out of the localized string --- src/ChangeLog | 5 +++++ src/main.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 33eb5ed6..b7b67533 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-02-06 Giuseppe Scrivano + + * main.c (print_version): Move copyright year out of the localized + string and update it. + 2014-01-29 Darshit Shah * main.c: Remove pre-processor variable WHEN_DEBUG diff --git a/src/main.c b/src/main.c index 6b6f72f3..3ce7583f 100644 --- a/src/main.c +++ b/src/main.c @@ -952,8 +952,8 @@ print_version (void) /* TRANSLATORS: When available, an actual copyright character (circle-c) should be used in preference to "(C)". */ - if (fputs (_("\ -Copyright (C) 2011 Free Software Foundation, Inc.\n"), stdout) < 0) + if (printf (_("\ +Copyright (C) %s Free Software Foundation, Inc.\n"), "2014") < 0) exit (3); if (fputs (_("\ License GPLv3+: GNU GPL version 3 or later\n\ -- 2.39.2