diff options
Diffstat (limited to 'sys-apps/openrc/files/9999/0001-msg-style.patch')
-rw-r--r-- | sys-apps/openrc/files/9999/0001-msg-style.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys-apps/openrc/files/9999/0001-msg-style.patch b/sys-apps/openrc/files/9999/0001-msg-style.patch index ab3559e71a70..0ba3697facf5 100644 --- a/sys-apps/openrc/files/9999/0001-msg-style.patch +++ b/sys-apps/openrc/files/9999/0001-msg-style.patch @@ -11,8 +11,8 @@ diff --git a/src/libeinfo/libeinfo.c b/src/libeinfo/libeinfo.c index f8ddcb5..c46cacb 100644 --- a/src/libeinfo/libeinfo.c +++ b/src/libeinfo/libeinfo.c -@@ -787,7 +787,7 @@ static void _eend(FILE * __EINFO_RESTRICT fp, int col, ECOLOR color, - if (! msg) +@@ -817,7 +817,7 @@ static void _eend(FILE * __EINFO_RESTRICT fp, int col, ECOLOR color, + if (!msg) return; - cols = get_term_columns(fp) - (strlen(msg) + 3); @@ -20,7 +20,7 @@ index f8ddcb5..c46cacb 100644 /* cons25 is special - we need to remove one char, otherwise things * do not align properly at all. */ -@@ -801,18 +801,15 @@ static void _eend(FILE * __EINFO_RESTRICT fp, int col, ECOLOR color, +@@ -831,18 +831,15 @@ static void _eend(FILE * __EINFO_RESTRICT fp, int col, ECOLOR color, if (term_is_cons25) cols--; @@ -30,8 +30,8 @@ index f8ddcb5..c46cacb 100644 if (cols > 0 && colour_terminal(fp)) { - fprintf(fp, "%s%s %s[%s%s%s]%s\n", up, tgoto(goto_column, 0, cols), + fprintf(fp, "%s%s %s[%s %s %s]%s\n", up, tgoto(goto_column, 0, cols), - ecolor(ECOLOR_BRACKET), ecolor(color), msg, - ecolor(ECOLOR_BRACKET), ecolor(ECOLOR_NORMAL)); + ecolor(ECOLOR_BRACKET), ecolor(color), msg, + ecolor(ECOLOR_BRACKET), ecolor(ECOLOR_NORMAL)); } else { if (col > 0) for (i = 0; i < cols - col; i++) |