about summary refs log tree commit diff stats
path: root/src/plugins
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-10-14 23:38:39 +0100
committerJames Booth <boothj5@gmail.com>2016-10-14 23:38:39 +0100
commit54cf1dbec43ccc3c300a04c26c8da54538f2da32 (patch)
treeb4c4cc737cd7f18fbbee54508cbf60d6d972e1a9 /src/plugins
parent24f0dc2734baf13ff5ecbb3e46bc08b809ee4736 (diff)
downloadprofani-tty-54cf1dbec43ccc3c300a04c26c8da54538f2da32.tar.gz
Add win_printf_line
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/api.c2
1 files changed, 1 insertions, 1 deletions
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);