1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05: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 Laurent MONIN
parent 0b98c5051b
commit c66a9d46a0

View File

@ -95,13 +95,12 @@ get_dyn_full_version(struct terminal *term, int more)
add_format_to_string(&string, "ELinks %s", VERSION_STRING); add_format_to_string(&string, "ELinks %s", VERSION_STRING);
if (*build_id) { if (*build_id) {
if (more) add_to_string(&string, "\n"); add_char_to_string(&string, more ? '\n' : ' ');
add_format_to_string(&string, " (%s)", build_id); add_format_to_string(&string, "%s", build_id);
} }
if (more) add_to_string(&string, "\n"); add_char_to_string(&string, '\n');
add_format_to_string(&string, _("Built on %s %s", term),
add_format_to_string(&string, _(" (built on %s %s)", term),
build_date, build_time); build_date, build_time);
if (more) { if (more) {