1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-30 01:55:30 +00:00

Insert newlines and remove parenthesis in -version and Info box display.

This commit is contained in:
Laurent MONIN 2007-04-27 15:08:28 +02:00 committed by Witold Filipczyk
parent 6bed8f1503
commit e1332c29ce

View File

@ -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) {