aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-10-15 00:39:57 +0100
committerJames Booth <boothj5@gmail.com>2016-10-15 16:31:54 +0100
commit8cf9e0ccccb616c3fec957b5a21a17e34172fced (patch)
tree85165b53baad8ca2b2f88a3fea023e82095b8863 /src/plugins
parent33b4b79f2e055ad5831bc428a3c98eaee5530b9e (diff)
downloadprofani-tty-8cf9e0ccccb616c3fec957b5a21a17e34172fced.tar.gz
Use win_printf_line where appropriate
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/api.c b/src/plugins/api.c
index 4073b5f5..606a4811 100644
--- a/src/plugins/api.c
+++ b/src/plugins/api.c
@@ -368,7 +368,7 @@ api_win_show(const char *tag, const char *line)
}
ProfWin *window = (ProfWin*)pluginwin;
- win_printf(window, '!', 0, NULL, 0, THEME_DEFAULT, "", "%s", line);
+ win_printf_line(window, THEME_DEFAULT, '!', "%s", line);
return 1;
}
@@ -393,7 +393,7 @@ api_win_show_themed(const char *tag, const char *const group, const char *const
theme_item_t themeitem = plugin_themes_get(group, key, def);
ProfWin *window = (ProfWin*)pluginwin;
- win_printf(window, '!', 0, NULL, 0, themeitem, "", "%s", line);
+ win_printf_line(window, themeitem, '!', "%s", line);
return 1;
}