client: Refactor error message formating

This commit is contained in:
Tim Kourt 2019-08-15 11:40:37 -07:00 committed by Denis Kenzior
parent 571d66fe42
commit 09f454b19f
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ void display(const char *fmt, ...)
void display_error(const char *error)
{
char *text = l_strdup_printf(COLOR_RED "%s\n" COLOR_OFF, error);
char *text = l_strdup_printf(COLOR_RED "%s" COLOR_OFF "\n", error);
display_text(text);