From 54cf1dbec43ccc3c300a04c26c8da54538f2da32 Mon Sep 17 00:00:00 2001 From: James Booth Date: Fri, 14 Oct 2016 23:38:39 +0100 Subject: Add win_printf_line --- src/plugins/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/api.c') diff --git a/src/plugins/api.c b/src/plugins/api.c index 670f8551..6c27ef06 100644 --- a/src/plugins/api.c +++ b/src/plugins/api.c @@ -85,7 +85,7 @@ api_cons_show_themed(const char *const group, const char *const key, const char char *parsed = str_replace(message, "\r\n", "\n"); theme_item_t themeitem = plugin_themes_get(group, key, def); ProfWin *console = wins_get_console(); - win_printf(console, '-', 0, NULL, 0, themeitem, "", "%s", parsed); + win_printf_line(console, themeitem, "%s", parsed); free(parsed); -- cgit 1.4.1-2-gfad0