From e1332c29ceb83d1eee7fed565cd42ac4c0d248b9 Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Fri, 27 Apr 2007 15:08:28 +0200 Subject: [PATCH] Insert newlines and remove parenthesis in -version and Info box display. --- src/main/version.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/version.c b/src/main/version.c index 6c3d6e1f..dd8be192 100644 --- a/src/main/version.c +++ b/src/main/version.c @@ -95,13 +95,12 @@ get_dyn_full_version(struct terminal *term, int more) add_format_to_string(&string, "ELinks %s", VERSION_STRING); if (*build_id) { - if (more) add_to_string(&string, "\n"); - add_format_to_string(&string, " (%s)", build_id); + add_char_to_string(&string, more ? '\n' : ' '); + add_format_to_string(&string, "%s", build_id); } - if (more) add_to_string(&string, "\n"); - - add_format_to_string(&string, _(" (built on %s %s)", term), + add_char_to_string(&string, '\n'); + add_format_to_string(&string, _("Built on %s %s", term), build_date, build_time); if (more) {