[PATCH 04/29] ui/ncurses: remove "Info:" / "Error:" prefix from status area

Samuel Mendoza-Jonas sam at mendozajonas.com
Mon Dec 19 15:18:50 AEDT 2016


From: Jeremy Kerr <jk at ozlabs.org>

Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
---
 ui/ncurses/nc-cui.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c
index 86515bc..93b2e43 100644
--- a/ui/ncurses/nc-cui.c
+++ b/ui/ncurses/nc-cui.c
@@ -714,12 +714,7 @@ static void cui_update_status(struct status *status, void *arg)
 
 	statuslog_append_steal(cui, cui->statuslog, status);
 
-	nc_scr_status_printf(cui->current,
-			"%s: %s",
-			status->type == STATUS_ERROR ?
-				_("Error") : _("Info"),
-			status->message);
-
+	nc_scr_status_printf(cui->current, "%s", status->message);
 }
 
 static void cui_update_mm_title(struct cui *cui)
-- 
2.10.2



More information about the Petitboot mailing list